Skip to content

Commit

Permalink
fix: allow packaging to work (#322)
Browse files Browse the repository at this point in the history
Setup needed a ``long_description`` to all packaging to
work, potentially due to a twine bug. This should fix
the issue.

See #319
  • Loading branch information
robrap authored Apr 11, 2023
1 parent 53e1d1a commit 15a9a9f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ Change Log
Unreleased
----------

[8.5.1] - 2023-04-11
--------------------

Fixed
~~~~~

* (Hopefully) fixed the ability to publish edx-drf-extensions, by adding a ``long_description`` to setup.py.

[8.5.0] - 2023-04-05
--------------------

Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
include requirements/base.in
include requirements/test.in
include requirements/docs.in
include CHANGELOG.rst
include LICENSE
include README.rst
test_settings.py
Expand Down
2 changes: 1 addition & 1 deletion edx_rest_framework_extensions/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
""" edx Django REST Framework extensions. """

__version__ = '8.5.0' # pragma: no cover
__version__ = '8.5.1' # pragma: no cover
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,15 @@ def get_version(*file_paths):

VERSION = get_version("edx_rest_framework_extensions", "__init__.py")

README = open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding="utf8").read()
CHANGELOG = open(os.path.join(os.path.dirname(__file__), 'CHANGELOG.rst'), encoding="utf8").read()


setup(
name='edx-drf-extensions',
version=VERSION,
description='edX extensions of Django REST Framework',
long_description=README + '\n\n' + CHANGELOG,
author='edX',
author_email='[email protected]',
url='https://github.com/openedx/edx-drf-extensions',
Expand Down

0 comments on commit 15a9a9f

Please sign in to comment.