|
23 | 23 | from setuptools import Extension
|
24 | 24 | from setuptools import setup
|
25 | 25 |
|
| 26 | +# Add our setupext package to the path, and import it. |
| 27 | +sys.path.append(str(Path(__file__).parent)) |
26 | 28 | import setupext
|
27 | 29 |
|
28 | 30 | if '--android' in sys.argv:
|
|
48 | 50 |
|
49 | 51 |
|
50 | 52 | setup(
|
51 |
| - name='JPype1', |
52 |
| - version='1.5.1_dev0', |
53 |
| - description='A Python to Java bridge.', |
54 |
| - long_description=open('README.rst').read(), |
55 |
| - license='License :: OSI Approved :: Apache Software License', |
56 |
| - author='Steve Menard', |
57 |
| - author_email='devilwolf@users.sourceforge.net', |
58 |
| - maintainer='Luis Nell', |
59 |
| - maintainer_email='cooperate@originell.org', |
60 |
| - python_requires=">=3.7", |
61 |
| - url='https://github.com/jpype-project/jpype', |
| 53 | + # Non-standard, and extension behaviour. See also: |
| 54 | + # https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html#setuptools-specific-configuration |
62 | 55 | platforms=[
|
63 | 56 | 'Operating System :: Microsoft :: Windows',
|
64 | 57 | 'Operating System :: POSIX',
|
65 | 58 | 'Operating System :: Unix',
|
66 | 59 | 'Operating System :: MacOS',
|
67 | 60 | ],
|
68 |
| - classifiers=[ |
69 |
| - 'Programming Language :: Python :: 3', |
70 |
| - 'Programming Language :: Python :: 3.7', |
71 |
| - 'Programming Language :: Python :: 3.8', |
72 |
| - 'Programming Language :: Python :: 3.9', |
73 |
| - 'Programming Language :: Python :: 3.10', |
74 |
| - 'Topic :: Software Development', |
75 |
| - 'Topic :: Scientific/Engineering', |
76 |
| - ], |
77 | 61 | packages=['jpype', 'jpype._pyinstaller'],
|
78 | 62 | package_dir={'jpype': 'jpype', },
|
79 | 63 | package_data={'jpype': ['*.pyi']},
|
80 |
| - install_requires=['typing_extensions ; python_version< "3.8"', |
81 |
| - 'packaging'], |
82 |
| - tests_require=['pytest'], |
83 |
| - extras_require={ |
84 |
| - 'tests': [ |
85 |
| - 'pytest', |
86 |
| - ], |
87 |
| - 'docs': [ |
88 |
| - 'readthedocs-sphinx-ext', |
89 |
| - 'sphinx', |
90 |
| - 'sphinx-rtd-theme', |
91 |
| - ], |
92 |
| - }, |
93 | 64 | cmdclass={
|
94 | 65 | 'build_ext': setupext.build_ext.BuildExtCommand,
|
95 | 66 | 'test_java': setupext.test_java.TestJavaCommand,
|
|
98 | 69 | },
|
99 | 70 | zip_safe=False,
|
100 | 71 | ext_modules=[jpypeJar, jpypeLib, ],
|
101 |
| - distclass=setupext.dist.Distribution, |
102 |
| - entry_points={ |
103 |
| - 'pyinstaller40': [ |
104 |
| - 'hook-dirs = jpype._pyinstaller.entry_points:get_hook_dirs', |
105 |
| - 'tests = jpype._pyinstaller.entry_points:get_PyInstaller_tests', |
106 |
| - ], |
107 |
| - }, |
108 | 72 | )
|
0 commit comments