Skip to content

Commit

Permalink
Use DESCRIPTION.rst for distutil package description.
Browse files Browse the repository at this point in the history
Doing this omits the screenshots on the PyPI project page.
  • Loading branch information
Toni Ruža committed May 13, 2015
1 parent d48e368 commit 958bfa1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# wheel==0.23.0
wheel>=0.23.0
python-dateutil>=2.4.2
sqlalchemy>=0.9
Pillow>=2.7.0
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ with-xunit=1
# --cover-html when run interactively to view HTML coverage output
# --with-specplugin to view nicely human-readable RSpec output; you won't see
# coverage info in stdout if you do this

[metadata]
description-file = DESCRIPTION.rst
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
SETUP_DIR = os.path.dirname(os.path.realpath(__file__))
EGG_RE = re.compile('#egg=([^#@\n]+)')

readme = open(os.path.join(SETUP_DIR, 'README.rst')).read()
readme = open(os.path.join(SETUP_DIR, 'DESCRIPTION.rst')).read()
history = open(
os.path.join(
SETUP_DIR, 'HISTORY.rst')).read().replace('.. :changelog:', '')
Expand Down Expand Up @@ -72,6 +72,7 @@ def recurse_data_files(path):
setup(
name='datagrid_gtk3',
version='0.1.2',
license='MIT',
description='MVC framework for working with the GTK3 TreeView widget.',
long_description=readme + '\n\n' + history,
author='NowSecure',
Expand Down

0 comments on commit 958bfa1

Please sign in to comment.