-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathDISTRIBUTE.txt
More file actions
41 lines (23 loc) · 938 Bytes
/
DISTRIBUTE.txt
File metadata and controls
41 lines (23 loc) · 938 Bytes
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
Distribute simulator on pypi
=============================
build wheel distribution file
-----------------------------
Build a .whl file in subdir pypi/ with the command:
python3 -m build
To test the .whl file you can install it with:
PATH_TO_MY_WHL=dist/ev3dev2simulator-2.0.6-py3-none-any.whl
pip3 install $PATH_TO_MY_WHL
upload to pypi
--------------
Credentials and URLs for test and official repos are set in ~/.pypirc.
Test upload
python3 -m twine upload --repository testpypi $PATH_TO_MY_WHL
^^^^
watch result at :
https://test.pypi.org/project/ev3dev2simulator/
Official upload
src: https://packaging.python.org/guides/migrating-to-pypi-org/
python3 -m twine upload --repository pypi $PATH_TO_MY_WHL
^^^^
watch result at :
https://pypi.org/project/ev3dev2simulator/