Skip to content

Commit 49b77cc

Browse files
authored
Merge pull request #178 from edmorley/generate-wheels
Document how to release both an sdist and wheel distribution
2 parents d0b0683 + 793a675 commit 49b77cc

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

README.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,18 @@ provide the ``queryset`` argument, or override the ``get_queryset()`` method (se
415415
416416
django-filter has add a ``get_filters()`` classmethod to it's API, so this method has been renamed.
417417
418+
419+
Publishing
420+
----------
421+
422+
.. code-block:: bash
423+
424+
$ pip install -U twine setuptools wheel
425+
$ rm -rf dist/ build/
426+
$ python setup.py sdist bdist_wheel
427+
$ twine upload dist/*
428+
429+
418430
License
419431
-------
420432
Copyright (c) 2013-2015 Philip Neustrom <philipn@gmail.com>,

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
universal=1

0 commit comments

Comments
 (0)