Browse files

setup cleanup

  • Loading branch information...
1 parent ce9f22e commit b9eb4a199d767fccc0e1a059731d9842f8b349eb @sorl committed Feb 5, 2011
Showing with 9 additions and 24 deletions.
  1. +1 −3 MANIFEST.in
  2. +8 −21 setup.py
View
4 MANIFEST.in
@@ -1,3 +1 @@
-include LICENSE
-include README.rst
-include docs/*
+include LICENSE README.rst
View
29 setup.py
@@ -1,24 +1,17 @@
-from os.path import abspath, dirname, join as pjoin
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
+from setuptools import setup, find_packages
-fn = abspath(pjoin(dirname(__file__), 'README.rst'))
-fp = open(fn, 'r')
-long_description = fp.read()
-fp.close()
-
setup(
name='django-pgindex',
- version='0.1',
- url='https://github.com/aino/django-pgindex',
- license='BSD',
+ version='0.2',
+ description='Search for Django and PostgreSQL',
+ long_description=open('README.rst').read(),
author='Mikko Hellsing',
author_email='mikko@aino.se',
- description='Search for Django and PostgreSQL',
- long_description=long_description,
+ license='BSD',
+ url='https://github.com/aino/django-pgindex',
+ packages=find_packages(),
+ zip_safe=False,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Web Environment',
@@ -29,11 +22,5 @@
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Framework :: Django',
],
- packages=[
- 'pgindex',
- ],
- platforms='any',
- # we don't want eggs
- zip_safe=False,
)

0 comments on commit b9eb4a1

Please sign in to comment.