Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (45 sloc) 1.32 KB
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
setup(
name='django-getenv',
version="1.3.2",
description="Read settings from environment variables.",
long_description=readme + '\n\n' + history,
author="David Murphy",
author_email="dave@schwuk.com",
url="http://github.com/schwuk/django-getenv",
packages=[
'getenv',
'getenv.templatetags',
],
package_dir={'getenv': 'getenv'},
include_package_data=True,
install_requires=[
],
license="BSD",
zip_safe=False,
keywords='django-getenv',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
],
test_suite='tests',
)