forked from adamcharnock/django-tz-detect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·34 lines (31 loc) · 972 Bytes
/
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
#!/usr/bin/env python
from os.path import exists
from setuptools import setup, find_packages
from tz_detect import __version__
setup(
name='django-tz-detect',
version=__version__,
author='Adam Charnock',
author_email='adam@adamcharnock.com',
packages=find_packages(),
package_dir={'tz_detect': 'tz_detect'},
package_data={
'tz_detect': [
'templates/tz_detect/*',
'static/tz_detect/js/*',
]
},
include_package_data=True,
# Any executable scripts, typically in 'bin'. E.g 'bin/do-something.py'
scripts=[],
# REQUIRED: Your project's URL
url='https://github.com/adamcharnock/django-tz-detect',
license='MIT',
description='Automatic user timezone detection for django',
long_description=open('README.rst').read() if exists("README.rst") else "",
# Any requirements here, e.g. "Django >= 1.1.1"
install_requires=[
'django>=1.4',
'pytz',
],
)