Skip to content

Commit

Permalink
#11: Release v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mart Somermaa committed Oct 21, 2018
1 parent 4142afd commit 827a358
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
30 changes: 30 additions & 0 deletions docs/publishing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Publishing

See https://packaging.python.org/tutorials/packaging-projects/

## Steps

```sh
pip install --user --upgrade setuptools wheel
pip install --user --upgrade twine

python setup.py sdist bdist_wheel
twine upload -r pypi dist/*
```

## ~/.pypirc

```ini
[distutils]
index-servers = pypi pypitest

[pypi]
repository: https://upload.pypi.org/legacy/
username: mrts
password: ...

[pypitest]
repository: https://test.pypi.org/legacy/
username: mrts
password: ...
```
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
from setuptools import find_packages, setup

VERSION = '1.0.1'
VERSION = '1.0.2'

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
Expand All @@ -24,7 +24,7 @@
url='https://github.com/mrts/django-admin-list-filter-dropdown',
download_url='https://github.com/mrts/django-admin-list-filter-dropdown/archive/%s.zip' % VERSION,
author='Mart Sõmermaa',
author_email="mrts.pydev at gmail dot com",
author_email="mrts.pydev@gmail.com",
keywords=['django', 'admin', 'filter', 'dropdown'],
classifiers=[
'Environment :: Web Environment',
Expand Down

0 comments on commit 827a358

Please sign in to comment.