-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
44 lines (36 loc) · 1.2 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- coding: utf-8 -*-
import os
import sys
import addendum
from setuptools import setup, find_packages
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
os.system('python setup.py bdist_wheel upload')
sys.exit()
with open('README.rst') as f:
readme = f.read()
setup(
name='django-addendum',
version=addendum.__version__,
description='Simple template-based content swapping for CMS-less sites',
long_description=readme,
author='Ben Lopatin',
author_email='[email protected]',
url='https://github.com/bennylope/django-addendum',
license='BSD License',
packages=find_packages(exclude=['tests']),
platforms=['OS Independent'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Framework :: Django',
],
include_package_data=True,
)