File tree Expand file tree Collapse file tree 3 files changed +54
-5
lines changed
Expand file tree Collapse file tree 3 files changed +54
-5
lines changed Original file line number Diff line number Diff line change 1616.idea /
1717test /resources /lrs_properties.py
1818
19+ # release
20+ dist
21+ tincan.egg-info /
22+
1923# wild
2024todo.md
Original file line number Diff line number Diff line change @@ -75,3 +75,48 @@ The docs will be output to `docs/build/html/`.
7575If you would like to change the names of each section, you can do so by modifying ` docs/source/tincan.rst ` .
7676
7777## Releasing
78+ To release to PyPI, first make sure that you have a PyPI account set up at https://pypi.python.org/pypi (and at
79+ https://testpypi.python.org/pypi if you plan on using the test index). You will also need a .pyirc file in your
80+ home directory with the following contents.
81+
82+ [distutils]
83+
84+ index-servers =
85+ pypi
86+ pypitest
87+
88+ [pypi] # authentication details for live PyPI
89+ repository: https://pypi.python.org/pypi
90+ username: <username>
91+ password: <password>
92+
93+ [pypitest] # authentication details for test PyPI
94+ repository: https://testpypi.python.org/pypi
95+ username: <username>
96+ password: <password>
97+
98+ The pypitest contents of the .pyirc file are optional and are used for hosting to the test PyPI index.
99+
100+ Update setup.py to contain the correct release version and any other new information.
101+
102+ To test the register/upload, run the following commands in the repo directory:
103+
104+ python setup.py register -r pypitest
105+ python setup.py sdist upload -r pypitest
106+
107+ You should get no errors and should be able to find this tincan version at https://testpypi.python.org/pypi .
108+
109+ To register/upload to the live PyPI server, run the following commands in the repo directory:
110+
111+ python setup.py register -r pypi
112+ python setup.py sdist upload -r pypi
113+
114+ The new module should be now be installable with pip or easy_install.
115+
116+ easy_install tincan
117+
118+ or
119+
120+ pip install tincan
121+
122+ Use sudo as necessary.
Original file line number Diff line number Diff line change 2121 'SCORM' ,
2222 'AICC' ,
2323 ],
24- requires = [
25- 'aniso8601' ,
26- 'pytz' ,
27- ]
28- )
24+ install_requires = [
25+ 'aniso8601' ,
26+ 'pytz' ,
27+ ],
28+ )
You can’t perform that action at this time.
0 commit comments