-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (43 loc) · 1.51 KB
/
Copy pathsetup.py
File metadata and controls
47 lines (43 loc) · 1.51 KB
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
47
import os
from setuptools import setup, find_packages
# single source of truth for package version
version_ns = {}
with open(os.path.join('fair_research_login', 'version.py')) as f:
exec(f.read(), version_ns)
with open('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='fair-research-login',
description='A generalized library for storing native auth tokens',
long_description=long_description,
long_description_content_type='text/x-rst',
url='https://github.com/fair-research/native-login',
maintainer='Fair Research',
maintainer_email='',
version=version_ns['__version__'],
packages=find_packages(),
requires=[],
install_requires=install_requires,
dependency_links=[],
license='Apache 2.0',
classifiers=[
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
)