File: HOWTODIST

package info (click to toggle)
python-odf 1.3.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,356 kB
  • ctags: 1,902
  • sloc: python: 21,654; makefile: 352; sh: 10; xml: 2
file content (38 lines) | stat: -rw-r--r-- 783 bytes parent folder | download
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

Check that pypi can understand the long description

python setup.py --long-description | rst2html > test.html

Create a release tag:

$ cd ~/tmp
$ git clone https://github.com/eea/odfpy.git
$ cd odfpy

Run the automated tests:

$ cd tests ; make ; cd ..

Remove the "dev" marker from the version in setup.py and odf/namespaces.py

$ vi setup.py odf/namespaces.py

~check in the difference locally~

$ git tag -a release-1.2.X -m "Tagging the 1.2.X release of the 'odfpy' project."
$ git push origin release-1.2.X
or:
$ git push origin --tags

$ python setup.py build
$ python setup.py sdist
$ python setup.py sdist upload

Increment the version number and add the "dev" marker.

$ vi setup.py odf/namespaces.py

Check in changes and push them to origin

$ git commit -a
$ git push