-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (23 loc) · 795 Bytes
/
setup.py
File metadata and controls
26 lines (23 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# !/usr/bin/env python
from setuptools import setup
import re
with open('requirements.txt', 'r') as f:
txt = f.read().split('\n')
requires = []
for line in txt:
req = re.search(r'^(?![#-])(\S+)\s*#*.*?$', line.strip())
if not req:
continue
requires.append(req.groups()[0])
setup(
name='propnet',
packages=['propnet'],
version='2019.09.25',
author='Propnet Development Team',
author_email='mkhorton@lbl.gov',
description='A knowledge graph for Materials Science. Not yet ready for public use.',
url='https://github.com/materialsintelligence/propnet',
download_url='https://github.com/materialsintelligence/propnet/archive/0.0.tar.gz',
entry_points={"console_scripts": ["propnet = propnet.cli:main"]},
install_requires=requires
)