This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
forked from quantopian/pgcontents
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
58 lines (49 loc) · 1.79 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
47
48
49
50
51
52
53
54
55
56
57
58
from setuptools import setup, find_packages
from os.path import join, dirname, abspath
long_description = open('README.md').read()
version = '0.4.0'
def read_requirements(basename):
reqs_file = join(dirname(abspath(__file__)), basename)
with open(reqs_file) as f:
return [req.strip() for req in f.readlines()]
def main():
reqs = read_requirements('requirements.txt')
test_reqs = read_requirements('requirements_test.txt')
setup(
name='hybridcontents',
version=version,
description="Hybrid Content Manager",
long_description=long_description,
long_description_content_type='text/markdown',
author="viaduct",
author_email="[email protected]",
packages=find_packages(include='hybridcontents.*'),
license='Apache 2.0',
download_url=
'https://github.com/viaduct-ai/hybridcontents/archive/v{}.tar.gz'.
format(version),
include_package_data=True,
zip_safe=True,
url="https://github.com/viaduct-ai/hybridcontents",
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: IPython',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python',
],
keywords=[
'jupyterhub', 'pgcontents', 'hybridcontents', 'content manager',
'hybridcontentmanager'
],
install_requires=reqs,
extras_require={
'test': test_reqs,
},
)
if __name__ == '__main__':
main()