forked from ebi-ait/hca-util
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (41 loc) · 1.46 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
43
44
45
import os
import pathlib
from setuptools import setup
from ait.commons.util.settings import NAME, VERSION, DESC, AUTHOR, AUTHOR_EMAIL
# directory containing this file
HERE = pathlib.Path(__file__).parent
# text of the README file
README = (HERE / 'README.md').read_text()
# install requirements
INSTALL_REQS = [line.rstrip() for line in open(os.path.join(os.path.dirname(__file__), 'requirements.txt'))]
# This call to setup() does all the work
setup(
# dashes are ok in repo and PyPI dist names but not in package (i.e. directory) and
# module (.py file) names. can't do import xyz-abc
name=NAME,
version=VERSION,
description=DESC,
long_description=README,
long_description_content_type='text/markdown',
url='https://github.com/ebi-ait/hca-util',
author=AUTHOR,
author_email=AUTHOR_EMAIL,
license='Apache License',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
platforms=['MacOS X', 'Posix'],
packages=['ait.commons.util','ait.commons.util.settings', 'ait.commons.util.command'],
include_package_data=True,
install_requires=INSTALL_REQS,
entry_points={
'console_scripts': [
f'{NAME}=ait.commons.util.__main__:main',
]
},
)