-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
35 lines (28 loc) · 1.01 KB
/
setup.py
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
27
28
29
30
31
32
33
34
35
from io import open
from os import path
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
# get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# get reqs
def requirements():
list_requirements = []
with open('requirements.txt') as f:
for line in f:
list_requirements.append(line.rstrip())
return list_requirements
setup(
name='phn',
version='1.0.0', # Required
description='Pareto HyperNetworks', # Optional
long_description='', # Optional
long_description_content_type='text/markdown', # Optional (see note above)
url='', # Optional
author='', # Optional
author_email='', # Optional
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
# packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required
python_requires='>=3.5',
install_requires=requirements() # Optional
)