-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
28 lines (25 loc) · 823 Bytes
/
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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="occupiedgpus",
version="0.0.8",
author="Zhichao Jin",
author_email="jinzcdev@icloud.com",
description="The program for occupation of GPUs.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/jinzcdev/occupied-gpus.git",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=['torch', 'nvidia-ml-py'],
)
'''
python3 -m pip install --user --upgrade setuptools wheel
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/* -u jinzcdev
'''