Skip to content

Commit

Permalink
give readme, changes an rst ending
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed May 24, 2013
1 parent f54ee14 commit 6931bdd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
1 change: 0 additions & 1 deletion CHANGES.txt → CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Changelog
- Don't raise an attribute error for ``__iter__`` if the fallback to
``__getitem__`` succeeds. LP #1155760.


4.0 (2013-02-24)
----------------

Expand Down
File renamed without changes.
26 changes: 14 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,29 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""Setup for the Acquisition distribution
"""

import os
from setuptools import setup, find_packages, Extension

README = open(os.path.join('src', 'Acquisition', 'README.txt')).read()
CHANGES = open('CHANGES.rst').read()

ext_modules = [
Extension("Acquisition._Acquisition",
[os.path.join('src', 'Acquisition', '_Acquisition.c')],
include_dirs=['include', 'src']),
]

setup(
name='Acquisition',
version='4.0.1dev',
url='http://pypi.python.org/pypi/Acquisition',
license='ZPL 2.1',
description="Acquisition is a mechanism that allows objects to obtain "
"attributes from the containment hierarchy they're in.",
"attributes from the containment hierarchy they're in.",
author='Zope Foundation and Contributors',
author_email='zope-dev@zope.org',
long_description=open(
os.path.join('src', 'Acquisition', 'README.txt')).read() + '\n' +
open('CHANGES.txt').read(),
long_description='\n\n'.join([README, CHANGES]),
packages=find_packages('src'),
package_dir={'': 'src'},
classifiers=[
Expand All @@ -42,13 +48,9 @@
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
],
ext_modules=[Extension("Acquisition._Acquisition",
[os.path.join('src', 'Acquisition',
'_Acquisition.c')],
include_dirs=['include', 'src']),
],
ext_modules=ext_modules,
install_requires=[
'ExtensionClass >= 4.0a1',
'ExtensionClass >= 4.1a1',
'zope.interface',
],
include_package_data=True,
Expand Down

0 comments on commit 6931bdd

Please sign in to comment.