Loading MANIFEST.in +2 −0 Original line number Diff line number Diff line Loading @@ -10,7 +10,9 @@ recursive-include docs * recursive-include scripts * recursive-include extras * recursive-include tests * recursive-include django/conf/app_template * recursive-include django/conf/locale * recursive-include django/conf/project_template * recursive-include django/contrib/*/locale * recursive-include django/contrib/admin/templates * recursive-include django/contrib/admin/static * Loading django/bin/__init__.pydeleted 100644 → 0 +0 −0 Empty file deleted. docs/internals/howto-release-django.txt +8 −5 Original line number Diff line number Diff line Loading @@ -175,13 +175,13 @@ OK, this is the fun part, where we actually push out a release! #. Make sure you have an absolutely clean tree by running ``git clean -dfx``. #. Run ``python setup.py sdist`` to generate the release package. This will create the release package in a ``dist/`` directory. #. Run ``make -f extras/Makefile`` to generate the release packages. This will create the release packages in a ``dist/`` directory. #. Generate the hashes of the release package:: #. Generate the hashes of the release packages:: $ md5sum dist/Django-<version>.tar.gz $ sha1sum dist/Django-<version>.tar.gz $ md5sum dist/Django-* $ sha1sum dist/Django-* *FIXME: perhaps we should switch to sha256?* Loading Loading @@ -221,6 +221,9 @@ Now you're ready to actually put the release out there. To do this: $ mktmpenv $ pip install https://www.djangoproject.com/m/releases/1.5/Django-1.5.1.tar.gz $ deactivate $ mktmpenv $ pip install https://www.djangoproject.com/m/releases/1.5/Django-1.5.1-py2.py3-none-any.whl $ deactivate This just tests that the tarballs are available (i.e. redirects are up) and that they install correctly, but it'll catch silly mistakes. Loading extras/Makefile 0 → 100644 +9 −0 Original line number Diff line number Diff line all: sdist bdist_wheel sdist: python setup.py sdist bdist_wheel: python -c "import setuptools;__file__='setup.py';exec(compile(open(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))" bdist_wheel .PHONY : sdist bdist_wheel setup.cfg +5 −0 Original line number Diff line number Diff line Loading @@ -2,3 +2,8 @@ doc_files = docs extras AUTHORS INSTALL LICENSE README.rst install-script = scripts/rpm-install.sh [metadata] license-file = LICENSE [wheel] universal = 1 # use py2.py3 tag for pure-python dist Loading
MANIFEST.in +2 −0 Original line number Diff line number Diff line Loading @@ -10,7 +10,9 @@ recursive-include docs * recursive-include scripts * recursive-include extras * recursive-include tests * recursive-include django/conf/app_template * recursive-include django/conf/locale * recursive-include django/conf/project_template * recursive-include django/contrib/*/locale * recursive-include django/contrib/admin/templates * recursive-include django/contrib/admin/static * Loading
docs/internals/howto-release-django.txt +8 −5 Original line number Diff line number Diff line Loading @@ -175,13 +175,13 @@ OK, this is the fun part, where we actually push out a release! #. Make sure you have an absolutely clean tree by running ``git clean -dfx``. #. Run ``python setup.py sdist`` to generate the release package. This will create the release package in a ``dist/`` directory. #. Run ``make -f extras/Makefile`` to generate the release packages. This will create the release packages in a ``dist/`` directory. #. Generate the hashes of the release package:: #. Generate the hashes of the release packages:: $ md5sum dist/Django-<version>.tar.gz $ sha1sum dist/Django-<version>.tar.gz $ md5sum dist/Django-* $ sha1sum dist/Django-* *FIXME: perhaps we should switch to sha256?* Loading Loading @@ -221,6 +221,9 @@ Now you're ready to actually put the release out there. To do this: $ mktmpenv $ pip install https://www.djangoproject.com/m/releases/1.5/Django-1.5.1.tar.gz $ deactivate $ mktmpenv $ pip install https://www.djangoproject.com/m/releases/1.5/Django-1.5.1-py2.py3-none-any.whl $ deactivate This just tests that the tarballs are available (i.e. redirects are up) and that they install correctly, but it'll catch silly mistakes. Loading
extras/Makefile 0 → 100644 +9 −0 Original line number Diff line number Diff line all: sdist bdist_wheel sdist: python setup.py sdist bdist_wheel: python -c "import setuptools;__file__='setup.py';exec(compile(open(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))" bdist_wheel .PHONY : sdist bdist_wheel
setup.cfg +5 −0 Original line number Diff line number Diff line Loading @@ -2,3 +2,8 @@ doc_files = docs extras AUTHORS INSTALL LICENSE README.rst install-script = scripts/rpm-install.sh [metadata] license-file = LICENSE [wheel] universal = 1 # use py2.py3 tag for pure-python dist