forked from BudEcosystem/bud-serve-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (28 loc) · 1.05 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
import os
from typing import List, Set
from pathlib import Path
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
def get_path(*filepath) -> str:
return os.path.join(ROOT_DIR, *filepath)
def get_requirements() -> List[str]:
"""Get Python package dependencies from requirements.txt."""
with open(get_path("requirements.txt")) as f:
requirements = f.read().strip().split("\n")
return requirements
setup(
name='budserve',
version='0.0.1',
description='A client package to directly integrate Bud Serve engine to your python application.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url='https://github.com/BudEcosystem/bud-serve-sdk',
packages=find_packages(include=['budserve', 'budserve.*']),
install_requires=get_requirements(),
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
python_requires='>=3.10',
)