1- # Licensed under the MIT License
2- # https://github.com/grongierisc/iris_pex_embedded_python/blob/main/LICENSE
1+ from setuptools import setup
32
4- import os
5-
6- from setuptools import setup , find_packages
7-
8- def main ():
9- # Read the readme for use as the long description
10- with open (os .path .join (os .path .abspath (os .path .dirname (__file__ )),
11- 'README.md' ), encoding = 'utf-8' ) as readme_file :
12- long_description = readme_file .read ()
13-
14- # Do the setup
15- setup (
16- name = 'iris_pex_embedded_python' ,
17- description = 'iris_pex_embedded_python' ,
18- long_description = long_description ,
19- long_description_content_type = 'text/markdown' ,
20- version = '2.3.19' ,
21- author = 'grongier' ,
22- author_email = 'guillaume.rongier@intersystems.com' ,
23- keywords = 'iris_pex_embedded_python' ,
24- url = 'https://github.com/grongierisc/interoperability-embedded-python' ,
25- license = 'MIT' ,
26- classifiers = [
27- 'Development Status :: 5 - Production/Stable' ,
28- 'Intended Audience :: Developers' ,
29- 'License :: OSI Approved :: MIT License' ,
30- 'Operating System :: OS Independent' ,
31- 'Programming Language :: Python :: 3.6' ,
32- 'Programming Language :: Python :: 3.7' ,
33- 'Programming Language :: Python :: 3.8' ,
34- 'Programming Language :: Python :: 3.9' ,
35- 'Programming Language :: Python :: 3.10' ,
36- 'Programming Language :: Python :: 3.11' ,
37- 'Topic :: Utilities'
38- ],
39- package_dir = {'' : 'src' },
40- packages = find_packages (where = 'src' ),
41- package_data = {'grongier.cls' : ['**/*.cls' ]},
42- python_requires = '>=3.6' ,
43- install_requires = [
44- "dacite>=1.6.0" ,
45- "xmltodict>=0.12.0" ,
46- ],
47- entry_points = {
48- 'console_scripts' : [
49- # create an iop command that point to the main of the grongier.pex package
50- 'iop = grongier.pex._cli:main' ,
51- ],
52- }
53- )
54-
55-
56- if __name__ == '__main__' :
57- main ()
3+ setup ()
0 commit comments