-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild_and_upload_pkg.sh
executable file
·29 lines (19 loc) · 1 KB
/
build_and_upload_pkg.sh
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
# Requirements --------------------------------------
# pip install wheel
# pip install twine
# ---------------------------------------------------
sudo ./reset.sh
sudo pip install -v -e .
sudo python setup.py sdist # Source Distribution, for Linux
sudo python setup.py bdist_wheel --universal # Universal Wheels, Pure Python, for py2 and py3
twine upload dist/*
sudo ./reset.sh
# sudo python setup.py sdist # Source Distribution, for Linux
# python setup.py bdist_wheel --universal # Universal Wheels, Pure Python, for py2 and py3
# python setup.py bdist_wheel # Pure Python Wheels, Pure Python, but don’t natively support both Python 2 and 3.
# python setup.py bdist_wheel # Platform Wheels, with compiled extensions, for macOS and Windows
# /home/fernando/.local/bin/twine upload dist/*
# sudo ./reset.sh
# --------------------------------------------------
# Luego, para el que instala
# pip install bitprim-native --no-cache-dir