-
Notifications
You must be signed in to change notification settings - Fork 29
/
Makefile
31 lines (20 loc) · 969 Bytes
/
Makefile
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
all:
@echo 'MakeFile for nvidia-docker-compose packaging '
@echo ' '
@echo 'make sdist Creates source distribution '
@echo 'make wheel Creates Wheel distribution '
@echo 'make pypi Package and upload to PyPI '
@echo 'make pypitest Package and upload to PyPI test server'
@echo 'make clean Remove all build related directories '
sdist:
python setup.py sdist >/dev/null 2>&1
wheel2:
python setup.py bdist_wheel >/dev/null 2>&1
wheel3:
python3 setup.py bdist_wheel >/dev/null 2>&1
pypi:clean sdist wheel2 wheel3
twine upload dist/*
pypitest: clean sdist wheel
twine upload -r pypitest dist/*
clean:
rm -rf dist && rm -rf build && rm -rf *.egg-info