forked from diegotoral/django-swingtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (34 loc) · 1.18 KB
/
setup.py
File metadata and controls
38 lines (34 loc) · 1.18 KB
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
#!/usr/bin/env python
import os, sys
from setuptools import setup, find_packages
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit(0)
with open('README.rst', 'r') as f:
long_description = f.read()
# Dynamically calculate the version based on swingtime.VERSION.
version=__import__('swingtime').get_version()
setup(
name='django-swingtime',
url='https://github.com/dakrauth/django-swingtime',
author='David A Krauth',
author_email='dakrauth@gmail.com',
description='A Django calendaring application.',
version=version,
long_description=long_description,
platforms=['any'],
license='MIT License',
classifiers=(
'Environment :: Web Environment',
'Framework :: Django',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
),
packages=find_packages(),
package_data={'swingtime': ['locale/*/*/*.*', 'fixtures/swingtime_test.json']},
requires=['dateutil', 'django']
)