-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (33 loc) · 1.01 KB
/
setup.py
File metadata and controls
38 lines (33 loc) · 1.01 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
import os
from setuptools import find_packages, setup
def read_file(filename):
with open(os.path.join(os.path.dirname(__file__), filename), encoding="utf-8") as f:
long_description = f.read()
return long_description
setup(
name="bohrium-sdk",
version="0.13.0",
author="dingzhaohan",
author_email="dingzh@dp.tech",
url="https://github.com/dingzhaohan",
description="bohrium openapi python sdk",
long_description=read_file("README.md"), # detail description for pypi
long_description_content_type="text/markdown", # file format
packages=find_packages("src", exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_dir={"": "src"}, # find_packages define code directory
package_data={
# include .txt all of them
"": ["*.txt"]
},
install_requires=[
"distro",
"httpx",
"typing_extensions",
"anyio",
"pyhumps",
"requests",
"tqdm",
],
python_requires=">=3.7",
entry_points={},
)