-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (24 loc) · 817 Bytes
/
setup.py
File metadata and controls
31 lines (24 loc) · 817 Bytes
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
#!/usr/bin/env python
from os.path import dirname, join
import setuptools
here = dirname(__file__)
def get_version():
version_file = join(here, "bitexen_client", "version.py")
version_dict = {}
with open(version_file) as f:
exec(f.read(), version_dict)
return version_dict["__version__"], version_dict["__url__"]
version, url = get_version()
setuptools.setup(
name="bitexen_client",
version=version,
description="Python Client for Bitexen API",
url=url,
long_description=open(join(here, "README.md")).read(),
long_description_content_type="text/markdown",
author="Bitexen Development Team",
author_email="development@bitexen.com",
install_requires=["requests"],
packages=["bitexen_client", "bitexen_client.utils"],
python_requires=">=3.7",
)