Skip to content

Commit 5c5b0ca

Browse files
committed
Update README with new distribution instructions.
1 parent 1954ca5 commit 5c5b0ca

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

python/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,18 @@ The `uri` attribute is an instance of ParseResult from the standard library's `u
6666
4. Push to the branch (`git push origin my-new-feature`)
6767
5. Create new Pull Request
6868

69+
70+
## Distribution
71+
The distribution process for Python looks like this:
72+
73+
$ ./sync_data.py
74+
$ # Make changes to codebase.
75+
$ # Bump version number in setup.py
76+
$ pushd python
77+
$ python setup.py sdist bdist_wheel --universal
78+
$ twine upload dist/referer-parser-X.Y.Z.tar.gz
79+
80+
6981
## Copyright and license
7082

7183
The referer-parser Python library is copyright 2012-2016 Don Spaulding.

0 commit comments

Comments
 (0)