Skip to content

Commit

Permalink
Rename files so the extension matches the content. (#6)
Browse files Browse the repository at this point in the history
* Rename files so the extension matches the content.

This allows smother rendering on GH, too.

* PEP-8.
  • Loading branch information
Michael Howitz authored Feb 8, 2018
1 parent fd3ff4a commit 8dfe2f4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
21 changes: 12 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
from setuptools import setup, find_packages
import os

def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()

def read(name):
"""Read a file."""
with open(name) as f:
return f.read()


long_description = (
read('README.txt')
read('README.rst')
+ '\n' +
read('CHANGES.txt')
)
read('CHANGES.rst')
)

tests_require = [
'zope.configuration',
'zope.schema',
'zope.testing > 4.6',
'zope.testrunner',
]
]


setup(
Expand Down Expand Up @@ -58,8 +61,8 @@ def read(*rnames):
'zope.container',
'zope.interface',
'zope.location',
],
],
tests_require=tests_require,
test_suite='grokcore.annotation.tests.test_grok.test_suite',
extras_require={'test': tests_require},
)
)

0 comments on commit 8dfe2f4

Please sign in to comment.