aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2014-04-21 18:22:44 -0400
committerTeddy Wing2014-04-21 18:23:19 -0400
commita47efefde6b16c559d6fd2f8405f15337ecc73fe (patch)
treeaa53c6ef152540b999c756b8bd3f2beb0066a895
parent1bea495e2b3db036c8383469329b5dff81f8615f (diff)
downloaddjango-sneak-peek-a47efefde6b16c559d6fd2f8405f15337ecc73fe.tar.bz2
Update setup.py
Fill in more information. Readying for distribution.
-rw-r--r--setup.py33
1 files changed, 25 insertions, 8 deletions
diff --git a/setup.py b/setup.py
index 58f442e..d6372a6 100644
--- a/setup.py
+++ b/setup.py
@@ -3,22 +3,39 @@ import os
from setuptools import setup, find_packages
+# https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
+def read(*paths):
+ """Build a file path from *paths* and return the contents."""
+ with open(os.path.join(*paths), 'r') as f:
+ return f.read()
+
+
setup(
name='django-sneak-peek',
version='0.0.1',
- description='',
- long_description='',
+ description='Django template tag to hide pre-release features in a ' \
+ 'template',
+ long_description=(
+ read('README.md') + '\n\n' +
+ read('CHANGELOG')),
url='',
license='MIT',
author='Teddy Wing',
- author_email='',
+ author_email='pypi@teddywing.com',
include_package_data=True,
packages=find_packages(),
install_requires=[
- 'Django >= 1.4'
+ 'Django >= 1.4',
+ 'South'
+ ],
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'Framework :: Django',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: MIT License',
+ 'Natural Language :: English',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Programming Language :: Python :: 2'
],
- extras_require={
- 'South': ['South']
- },
- classifiers=[],
) \ No newline at end of file