-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·38 lines (32 loc) · 1.3 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
import os
from setuptools import find_namespace_packages, setup, find_packages
from pip._internal.network.session import PipSession
from pip._internal.req import parse_requirements
import bigpipe_response
dir_path = os.path.dirname(os.path.realpath(__file__))
install_reqs = parse_requirements(os.path.join(dir_path, 'requirements.txt'), session=PipSession)
with open(os.path.join(dir_path, "README.md"), "r") as fh:
long_description = fh.read()
packages1 = find_packages()
packages2 = find_namespace_packages(include=['hydra_plugins.*'])
packages = list(set(packages1 + packages2))
setup(
name='bigpipe_response',
version=bigpipe_response.__version__,
author='Shay Tessler',
author_email='[email protected]',
description='Bigpipe, Pipelining web pages for high performance, django response object',
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/shay-te/bigpipe-response",
packages=packages,
license="MIT",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[str(ir.requirement) for ir in install_reqs],
include_package_data=True,
python_requires='>=3.7'
)