forked from fair-research/native-login
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (39 loc) · 1.3 KB
/
setup.py
File metadata and controls
42 lines (39 loc) · 1.3 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
import os
from setuptools import setup, find_packages
# single source of truth for package version
version_ns = {}
with open(os.path.join('native_login', 'version.py')) as f:
exec(f.read(), version_ns)
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="native-login",
description="A generalized library for storing native auth tokens",
url='',
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",
"Operating System :: Microsoft :: Windows",
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5'
]
)