|
7 | 7 | src_root = Path(__file__).parent / 'src' |
8 | 8 | sources = [str(path.absolute()) for path in src_root.rglob('*.c')] |
9 | 9 | pyxmlsec = Extension('xmlsec', sources=sources) |
10 | | -setup_reqs = ['setuptools_scm[toml]>=3.4', 'pkgconfig>=1.5.1', 'lxml>=3.8'] |
11 | | - |
12 | | - |
13 | | -with open('README.md', encoding='utf-8') as readme: |
14 | | - long_desc = readme.read() |
15 | 10 |
|
16 | 11 |
|
17 | 12 | setup( |
18 | | - name='xmlsec', |
19 | | - use_scm_version=True, |
20 | | - description='Python bindings for the XML Security Library', |
21 | | - long_description=long_desc, |
22 | | - long_description_content_type='text/markdown', |
23 | 13 | ext_modules=[pyxmlsec], |
24 | 14 | cmdclass={'build_ext': build_ext}, |
25 | | - python_requires='>=3.9', |
26 | | - setup_requires=setup_reqs, |
27 | | - install_requires=['lxml>=3.8'], |
28 | | - author='Bulat Gaifullin', |
29 | | - author_email='support@mehcode.com', |
30 | | - maintainer='Oleg Hoefling', |
31 | | - maintainer_email='oleg.hoefling@gmail.com', |
32 | | - url='https://github.com/mehcode/python-xmlsec', |
33 | | - project_urls={ |
34 | | - 'Documentation': 'https://xmlsec.readthedocs.io', |
35 | | - 'Source': 'https://github.com/mehcode/python-xmlsec', |
36 | | - 'Changelog': 'https://github.com/mehcode/python-xmlsec/releases', |
37 | | - }, |
38 | | - license='MIT', |
39 | | - keywords=['xmlsec'], |
40 | | - classifiers=[ |
41 | | - 'Development Status :: 5 - Production/Stable', |
42 | | - 'Intended Audience :: Developers', |
43 | | - 'Intended Audience :: System Administrators', |
44 | | - 'License :: OSI Approved :: MIT License', |
45 | | - 'Operating System :: OS Independent', |
46 | | - 'Programming Language :: C', |
47 | | - 'Programming Language :: Python :: 3', |
48 | | - 'Programming Language :: Python :: 3.9', |
49 | | - 'Programming Language :: Python :: 3.10', |
50 | | - 'Programming Language :: Python :: 3.11', |
51 | | - 'Programming Language :: Python :: 3.12', |
52 | | - 'Programming Language :: Python :: 3.13', |
53 | | - 'Programming Language :: Python :: 3.14', |
54 | | - 'Topic :: Text Processing :: Markup :: XML', |
55 | | - 'Typing :: Typed', |
56 | | - ], |
57 | | - zip_safe=False, |
58 | | - packages=['xmlsec'], |
59 | | - package_dir={'': 'src'}, |
60 | | - package_data={'xmlsec': ['py.typed', '*.pyi']}, |
61 | 15 | ) |
0 commit comments