forked from h1st-ai/h1st
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (33 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
36
37
38
39
40
41
42
import os
from setuptools import setup, find_packages
from setuptools.command.install import install
def __read_requirement(type=None):
filename = 'h1st/requirements%s.txt' % (".%s" % type if type else "")
with open(filename) as f:
return f.readlines()
def __read_version():
return '2020.8'
with open(os.path.join(os.path.dirname(__file__), '.', 'README.md'), 'r') as f:
long_description = f.read()
setup(
cmdclass={'install': install},
name='h1st',
version=__read_version(),
author='Arimo',
author_email='[email protected]',
packages=find_packages(exclude=("tests", "*.pyc")),
include_package_data=True,
zip_safe=False,
url='https://h1st.ai',
license='Apache 2.0',
description='Human-First AI (H1ST)',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=__read_requirement(),
python_requires='>= 3',
entry_points="""
[console_scripts]
h1=h1st.cli:main
""",
extras_require={}
)