forked from starkbank/febraban-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.srt
39 lines (29 loc) · 821 Bytes
/
README.srt
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
Deployment instructions
-----------------------
Global
~~~~~~
Before deployment, change the project *version* on ``setup.py`` file and
set the correct *download*\ url\_. Then make sure you have the file
``~/.pypirc`` with the content below and the correct credentials instead
of the provided placeholders:
::
[distutils]
index-servers =
pypi
pypitest
[pypi]
repository:https://upload.pypi.org/legacy/
username:myusername
password:mypassword
[pypitest]
repository:https://test.pypi.org/legacy/
username:myusername
password:mypassword
Test environment
~~~~~~~~~~~~~~~~
Run ``python setup.py sdist upload -r pypitest`` inside the project
directory.
Live environment
~~~~~~~~~~~~~~~~
Run ``python setup.py sdist upload -r pypi`` inside the project
directory.