-
Notifications
You must be signed in to change notification settings - Fork 99
/
setup.py
46 lines (42 loc) · 1.53 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
45
46
#!/usr/bin/env python
import os, sys
from setuptools import setup, find_packages
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='[email protected]',
description='A Django calendaring application.',
version=version,
long_description=long_description,
long_description_content_type='text/x-rst',
platforms=['any'],
license='MIT License',
python_requires='>=3.10, <4',
install_requires=['Django>=43.2,<5.2', 'python-dateutil>=2.8.2'],
extras_require={
'test': ['tox', 'coverage', 'pytest-django', 'pytest', 'pytest-cov', 'flake8'],
'docs': ["sphinx", "sphinx-rtd-theme"]
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0',
'Framework :: Django :: 5.1',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Office/Business :: Scheduling',
],
packages=find_packages(),
package_data={'swingtime': ['locale/*/*/*.*',]},
zip_safe=False,
)