Commit 01ba50e4 authored by Jason Madden's avatar Jason Madden

Update url in setup.py

Fixes #71

Also fix the lint warnings in setup.py: consistent use of continued indentation and trailing commas.
parent 4284df33
...@@ -20,7 +20,7 @@ from setuptools import Extension ...@@ -20,7 +20,7 @@ from setuptools import Extension
from setuptools import find_packages from setuptools import find_packages
from setuptools import setup from setuptools import setup
version = '4.2.5.dev0' version = '4.3.0.dev0'
here = os.path.abspath(os.path.dirname(__file__)) here = os.path.abspath(os.path.dirname(__file__))
...@@ -43,31 +43,42 @@ is_pure = os.environ.get('PURE_PYTHON') ...@@ -43,31 +43,42 @@ is_pure = os.environ.get('PURE_PYTHON')
if is_pypy or is_jython or is_pure: if is_pypy or is_jython or is_pure:
ext_modules = headers = [] ext_modules = headers = []
else: else:
ext_modules = [Extension(name = 'persistent.cPersistence', ext_modules = [
sources= ['persistent/cPersistence.c', Extension(
name='persistent.cPersistence',
sources=[
'persistent/cPersistence.c',
'persistent/ring.c', 'persistent/ring.c',
], ],
depends = ['persistent/cPersistence.h', depends=[
'persistent/cPersistence.h',
'persistent/ring.h', 'persistent/ring.h',
'persistent/ring.c', 'persistent/ring.c',
] ]
), ),
Extension(name = 'persistent.cPickleCache', Extension(
sources= ['persistent/cPickleCache.c', name='persistent.cPickleCache',
'persistent/ring.c' sources=[
'persistent/cPickleCache.c',
'persistent/ring.c',
], ],
depends = ['persistent/cPersistence.h', depends=[
'persistent/cPersistence.h',
'persistent/ring.h', 'persistent/ring.h',
'persistent/ring.c', 'persistent/ring.c',
] ]
), ),
Extension(name = 'persistent._timestamp', Extension(
sources= ['persistent/_timestamp.c', name='persistent._timestamp',
sources=[
'persistent/_timestamp.c',
], ],
), ),
] ]
headers = ['persistent/cPersistence.h', headers = [
'persistent/ring.h'] 'persistent/cPersistence.h',
'persistent/ring.h',
]
setup(name='persistent', setup(name='persistent',
version=version, version=version,
...@@ -94,7 +105,7 @@ setup(name='persistent', ...@@ -94,7 +105,7 @@ setup(name='persistent',
], ],
author="Zope Corporation", author="Zope Corporation",
author_email="zodb-dev@zope.org", author_email="zodb-dev@zope.org",
url="http://www.zope.org/Products/ZODB", url="https://github.com/zopefoundation/persistent/",
license="ZPL 2.1", license="ZPL 2.1",
platforms=["any"], platforms=["any"],
packages=find_packages(), packages=find_packages(),
...@@ -104,12 +115,18 @@ setup(name='persistent', ...@@ -104,12 +115,18 @@ setup(name='persistent',
headers=headers, headers=headers,
extras_require={ extras_require={
'test': (), 'test': (),
'testing': ['nose', 'coverage'], 'testing': [
'docs': ['Sphinx', 'repoze.sphinx.autointerface'], 'nose',
'coverage',
],
'docs': [
'Sphinx',
'repoze.sphinx.autointerface',
],
}, },
test_suite="persistent.tests", test_suite="persistent.tests",
install_requires=[ install_requires=[
'zope.interface', 'zope.interface',
], ],
entry_points={}, entry_points={},
) )
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment