Stefan Scherfke avatar Stefan Scherfke committed 559d2fe

Updated setup.py (and related files) for modern versions of setuptools/pip.

Comments (0)

Files changed (3)

+[wheel]
+universal = 1
-#! /usr/bin/env python
-from distutils.core import setup
-import sys
-reload(sys).setdefaultencoding('Utf-8')
+from setuptools import setup, find_packages
 
 
 setup(
     author='Stefan Scherfke',
     author_email='stefan at sofa-rockers.org',
     description='Easily integrate Sphinx documentation into your website.',
-    long_description=open('README.txt').read(),
+    long_description=(open('README.txt').read() + '\n\n' +
+                      open('CHANGES.txt').read() + '\n\n' +
+                      open('AUTHORS.txt').read()),
     url='http://stefan.sofa-rockers.org/django-sphinxdoc/',
-    download_url='http://bitbucket.org/scherfke/django-sphinxdoc/downloads/',
-    license='BSD',
-    packages=[
-        'sphinxdoc',
-        'sphinxdoc.management',
-        'sphinxdoc.management.commands',
+    license='MIT',
+    install_requires=[
+        'Django>=1.4',
+        'Sphinx>=1.0',
+        'django-haystack>=2.1',
     ],
-    package_data={
-        'sphinxdoc': [
-            'templates/sphinxdoc/*',
-            'templates/search/indexes/sphinxdoc/*',
-        ],
-    },
+    packages=find_packages(exclude=['*.tests', '*.tests.*']),
+    include_package_data=True,
     classifiers=[
         'Development Status :: 5 - Production/Stable',
+        'Intended Audience :: Developers',
+        'Natural Language :: English',
+        'License :: OSI Approved :: MIT License',
+        'Operating System :: OS Independent',
         'Environment :: Web Environment',
         'Framework :: Django',
-        'Intended Audience :: Developers',
-        'License :: OSI Approved :: BSD License',
-        'Operating System :: OS Independent',
         'Programming Language :: Python',
+        'Programming Language :: Python :: 2',
+        'Programming Language :: Python :: 2.7',
         'Topic :: Software Development :: Libraries :: Python Modules',
         'Topic :: Utilities',
     ],

sphinxdoc/__init__.py

+__version__ = '1.1'
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.