forked from runpod/runpod-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
90 lines (66 loc) · 2.29 KB
/
setup.py
File metadata and controls
90 lines (66 loc) · 2.29 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
'''
runpod-python | setup.py
Called to setup the runpod-python package.
'''
from setuptools import setup, find_packages
# README.md > long_description
with open('README.md', encoding='utf-8') as long_description_file:
long_description = long_description_file.read()
# requirements.txt > requirements
with open('requirements.txt', encoding="UTF-8") as requirements_file:
install_requires = requirements_file.read().splitlines()
extras_require = {
'test': [
'asynctest',
'nest_asyncio',
'pylint',
'pytest',
'pytest-cov',
'pytest-timeout',
'pytest-asyncio',
]
}
if __name__ == "__main__":
setup(
name='runpod',
use_scm_version=True,
setup_requires=[
'setuptools>=45',
'setuptools_scm',
'wheel'
],
install_requires=install_requires,
extras_require=extras_require,
packages=find_packages(),
python_requires='>=3.8',
description='🐍 | Python library for RunPod API and serverless worker SDK.',
long_description=long_description,
long_description_content_type='text/markdown',
author='RunPod',
url='https://runpod.io',
project_urls={
'Documentation': 'https://docs.runpod.io',
'Source': 'https://github.com/runpod/runpod-python',
'Bug Tracker': 'https://github.com/runpod/runpod-python/issues',
'Changelog': 'https://github.com/runpod/runpod-python/blob/main/CHANGELOG.md'
},
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content'
],
include_package_data=True,
entry_points={
'console_scripts': [
'runpod = runpod.cli.entry:runpod_cli'
]
},
keywords=['runpod', 'ai', 'gpu', 'serverless', 'SDK', 'API', 'python', 'library'],
license='MIT'
)