File tree 1 file changed +27
-0
lines changed
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## Deployment instructions
2
+
3
+ ### Global
4
+ Before deployment, change the project _ version_ on ` setup.py ` file and set the correct _ download_url_ .
5
+ Then make sure you have the file ` ~/.pypirc ` with the content below and the correct credentials instead of the provided placeholders:
6
+ ```
7
+ [distutils]
8
+ index-servers =
9
+ pypi
10
+ pypitest
11
+
12
+ [pypi]
13
+ repository:https://upload.pypi.org/legacy/
14
+ username:myusername
15
+ password:mypassword
16
+
17
+ [pypitest]
18
+ repository:https://test.pypi.org/legacy/
19
+ username:myusername
20
+ password:mypassword
21
+ ```
22
+
23
+ ### Test environment
24
+ Run ``` python setup.py sdist upload -r pypitest ``` inside the project directory.
25
+
26
+ ### Live environment
27
+ Run ``` python setup.py sdist upload -r pypi ``` inside the project directory.
You can’t perform that action at this time.
0 commit comments