|
1 | 1 | #!/usr/bin/env python3 |
| 2 | +from setuptools import setup |
2 | 3 |
|
3 | | -from io import open |
4 | | -import os |
5 | | -from setuptools import find_packages, setup |
6 | 4 |
|
7 | | - |
8 | | -def read(filename): |
9 | | - path = os.path.join(os.path.dirname(__file__), filename) |
10 | | - with open(path, encoding="utf-8") as handle: |
11 | | - return handle.read() |
12 | | - |
13 | | - |
14 | | -setup( |
15 | | - name="feincms3-sites", |
16 | | - version=__import__("feincms3_sites").__version__, |
17 | | - description="Multisite support for feincms3", |
18 | | - long_description=read("README.rst"), |
19 | | - author="Matthias Kestenholz", |
20 | | - author_email="mk@feinheit.ch", |
21 | | - url="https://github.com/matthiask/feincms3-sites/", |
22 | | - license="BSD License", |
23 | | - platforms=["OS Independent"], |
24 | | - packages=find_packages(exclude=["tests", "testapp"]), |
25 | | - include_package_data=True, |
26 | | - classifiers=[ |
27 | | - # 'Development Status :: 5 - Production/Stable', |
28 | | - "Environment :: Web Environment", |
29 | | - "Framework :: Django", |
30 | | - "Intended Audience :: Developers", |
31 | | - "License :: OSI Approved :: BSD License", |
32 | | - "Operating System :: OS Independent", |
33 | | - "Programming Language :: Python", |
34 | | - "Programming Language :: Python :: 3", |
35 | | - "Programming Language :: Python :: 3.6", |
36 | | - "Programming Language :: Python :: 3.7", |
37 | | - "Programming Language :: Python :: 3.8", |
38 | | - "Topic :: Internet :: WWW/HTTP :: Dynamic Content", |
39 | | - "Topic :: Software Development", |
40 | | - "Topic :: Software Development :: Libraries :: Application Frameworks", |
41 | | - ], |
42 | | - zip_safe=False, |
43 | | - install_requires=[ |
44 | | - "Django>=2.2", |
45 | | - "feincms3>=0.38.1", |
46 | | - "django-tree-queries>=0.4.1", |
47 | | - 'contextvars;python_version<"3.7"', |
48 | | - ], |
49 | | -) |
| 5 | +setup() |
0 commit comments