forked from marksweb/django-multisite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (48 loc) · 1.96 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
47
48
49
50
51
52
53
54
55
56
57
58
59
import os
from setuptools import find_packages, setup
_dir_ = os.path.dirname(__file__)
install_requires = [
'Django>=3.2,<5.0',
'tldextract>=1.2,<3'
]
def long_description():
"""Returns the value of README.rst"""
with open(os.path.join(_dir_, "README.rst")) as f:
return f.read()
here = os.path.abspath(_dir_)
version = {}
with open(os.path.join(here, "multisite", "__version__.py")) as f:
exec(f.read(), version)
files = ["multisite/test_templates/*"]
setup(name='django-multisite-fil',
version=version['__version__'],
description='Serve multiple sites from a single Django application',
long_description=long_description(),
author='Leonid S Shestera',
author_email='[email protected]',
maintainer='Ecometrica',
maintainer_email='[email protected]',
url='http://github.com/ecometrica/django-multisite',
packages=find_packages(),
include_package_data=True,
package_data={'multisite': files},
install_requires=install_requires,
setup_requires=['pytest-runner'],
tests_require=['coverage', 'mock', 'pytest', 'pytest-cov',
'pytest-django', 'pytest-pythonpath', 'tox'],
test_suite="multisite.tests",
classifiers=['Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Internet',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities'],
)