1- #!/usr/bin/env python
1+ from setuptools import setup
22
3- """The setup script."""
4-
5- from setuptools import setup , find_packages
6- from json2xml import __version__
7-
8- with open ("README.rst" , encoding = "utf-8" ) as readme_file :
9- readme = readme_file .read ()
10-
11- with open ("HISTORY.rst" , encoding = "utf-8" ) as history_file :
12- history = history_file .read ()
13-
14- with open ("requirements.in" , encoding = "utf-8" ) as requirements_in :
15- requirements = [requirements_in .read ()]
16-
17- setup_requirements = []
18-
19- test_requirements = ["pytest==7.0.1" , "py==1.11.0" ]
20-
21- setup (
22- author = "Vinit Kumar" ,
23- 24- classifiers = [
25- "Development Status :: 6 - Mature" ,
26- "Intended Audience :: Developers" ,
27- "License :: OSI Approved :: Apache Software License" ,
28- "Natural Language :: English" ,
29- "Programming Language :: Python :: 3.10" ,
30- "Programming Language :: Python :: 3.11" ,
31- "Programming Language :: Python :: 3.12" ,
32- "Programming Language :: Python :: 3.13" ,
33- "Programming Language :: Python :: Implementation :: CPython" ,
34- "Programming Language :: Python :: Implementation :: PyPy" ,
35- "Topic :: Software Development :: Libraries :: Python Modules" ,
36- ],
37- description = "Simple Python Library to convert JSON to XML" ,
38- install_requires = requirements ,
39- license = "Apache Software License 2.0" ,
40- long_description = readme + "\n \n " + history ,
41- long_description_content_type = "text/x-rst" ,
42- include_package_data = True ,
43- keywords = "json2xml" ,
44- name = "json2xml" ,
45- packages = find_packages (include = ["json2xml" ]),
46- setup_requires = setup_requirements ,
47- test_suite = "tests" ,
48- tests_require = test_requirements ,
49- url = "https://github.com/vinitkumar/json2xml" ,
50- version = __version__ ,
51- zip_safe = False ,
52- python_requires = ">=3.10" ,
53- )
3+ setup ()
0 commit comments