|
1 | | -#!/usr/bin/env python |
2 | | -from pathlib import Path |
| 1 | +from setuptools import setup |
3 | 2 |
|
4 | | -from setuptools import find_packages, setup |
5 | | - |
6 | | - |
7 | | -REQUIREMENTS = [ |
8 | | - 'django>=3.2', |
9 | | -] |
10 | | - |
11 | | - |
12 | | -CLASSIFIERS = [ |
13 | | - 'Development Status :: 5 - Production/Stable', |
14 | | - 'Environment :: Web Environment', |
15 | | - 'Intended Audience :: Developers', |
16 | | - 'License :: OSI Approved :: BSD License', |
17 | | - 'Operating System :: OS Independent', |
18 | | - 'Programming Language :: Python :: 3', |
19 | | - 'Programming Language :: Python :: 3.9', |
20 | | - 'Programming Language :: Python :: 3.10', |
21 | | - 'Programming Language :: Python :: 3.11', |
22 | | - 'Programming Language :: Python :: 3.12', |
23 | | - 'Programming Language :: Python :: 3.13', |
24 | | - 'Framework :: Django', |
25 | | - 'Framework :: Django :: 4.2', |
26 | | - 'Framework :: Django :: 5.0', |
27 | | - 'Framework :: Django :: 5.1', |
28 | | - 'Framework :: Django :: 5.2', |
29 | | - 'Topic :: Internet :: WWW/HTTP', |
30 | | - 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', |
31 | | - 'Topic :: Software Development', |
32 | | - 'Topic :: Software Development :: Libraries', |
33 | | -] |
34 | | - |
35 | | -this_directory = Path(__file__).parent |
36 | | -long_description = (this_directory / "README.rst").read_text() |
37 | | - |
38 | | -setup( |
39 | | - name='django-classy-tags', |
40 | | - version='4.1.0', |
41 | | - author='Jonas Obrist', |
42 | | - |
43 | | - maintainer='Django CMS Association and contributors', |
44 | | - maintainer_email='[email protected]', |
45 | | - url='https://github.com/django-cms/django-classy-tags', |
46 | | - license='BSD', |
47 | | - description='Class based template tags for Django', |
48 | | - long_description=long_description, |
49 | | - long_description_content_type='text/x-rst', |
50 | | - packages=find_packages(exclude=['tests']), |
51 | | - python_requires='>=3.9', |
52 | | - include_package_data=True, |
53 | | - zip_safe=False, |
54 | | - install_requires=REQUIREMENTS, |
55 | | - classifiers=CLASSIFIERS, |
56 | | -) |
| 3 | +setup() |
0 commit comments