-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (39 loc) · 1.26 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
#/usr/bin/env python
import os
from setuptools import setup, find_packages
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
# Dynamically calculate the version based on photologue.VERSION
version_tuple = __import__('newsletters').VERSION
if len(version_tuple) == 3:
version = "%d.%d_%s" % version_tuple
else:
version = "%d.%d" % version_tuple[:2]
setup(
name = "django-newsletters",
version = version,
description = "A newsletter application for django.",
author = 'Marcos Daniel Petry',
author_email = '[email protected]',
url = 'https://github.com/petry/django-newsletters',
packages = find_packages(),
package_data = {
'newsletters': [
'bin/*',
'fixtures/*'
'locale/*/LC_MESSAGES/*',
'templates/newsletters/*.html',
'templates/admin/newsletters/*.html',
]
},
zip_safe = False,
classifiers = [
'Development Status :: 4.1 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)