-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
46 lines (41 loc) · 1.33 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
46
from setuptools import setup, find_packages
import os
version = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'minid', 'version.py')) as f:
exec(f.read(), {}, version)
# Get the long description from the README file
with open(os.path.join(here, 'README.rst')) as f:
long_description = f.read()
install_requires = []
with open('requirements.txt') as reqs:
for line in reqs.readlines():
req = line.strip()
if not req or req.startswith('#'):
continue
install_requires.append(req)
setup(
name='minid',
version=version['__VERSION__'],
description='FAIR Research Minimum Viable Identifier',
long_description=long_description,
url='https://fair-research.org/',
author="FAIR Research Team",
packages=find_packages(),
install_requires=install_requires,
license='Apache 2.0',
entry_points={
'console_scripts': [
'minid = minid.commands.main:cli',
]
},
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Operating System :: POSIX',
]
)