-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (46 loc) · 1.45 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
import os
from setuptools import (setup, find_packages)
with open(
os.path.join(os.path.dirname(__file__), "requirements.txt"), "r"
) as fh:
requirements = fh.readlines()
NAME = "burrow-connector"
DESCRIPTION = (
"This is a lightweight library that works as a connector to Burrow public SDK."
)
AUTHOR = "Burrow"
URL = "https://github.com/burrow/burrow-sdk-python.git"
VERSION = "0.0.1"
about = {}
with open("README.md", "r") as fh:
about["long_description"] = fh.read()
root = os.path.abspath(os.path.dirname(__file__))
if not VERSION:
with open(os.path.join(root, "burrow", "__version__.py")) as f:
exec(f.read(), about)
else:
about["__version__"] = VERSION
setup(
name=NAME,
version=about["__version__"],
license="MIT",
description=DESCRIPTION,
long_description=about["long_description"],
long_description_content_type="text/markdown",
author=AUTHOR,
url=URL,
keywords=["burrow", "Public SDK"],
install_requires=[req for req in requirements],
packages=find_packages(),
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
include_package_data=True,
python_requires=">=3.6"
)