1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-09 21:39:17 -04:00
ports/devel/py-findpython/files/setup.py
Po-Chuan Hsieh 0b20522687
devel/py-findpython: Add py-findpython 0.1.3
This library is a rewrite of pythonfinder project by @techalchemy. It simplifies
the whole code structure while preserving most of the original features.

WWW: https://github.com/frostming/findpython
2022-03-08 02:10:50 +08:00

49 lines
1.3 KiB
Python

# -*- coding: utf-8 -*-
from setuptools import setup
import codecs
with codecs.open('README.md', encoding="utf-8") as fp:
long_description = fp.read()
INSTALL_REQUIRES = [
'packaging>=20',
]
ENTRY_POINTS = {
'console_scripts': [
'findpython = findpython.__main__:main',
],
}
setup_kwargs = {
'name': 'findpython',
'version': '%%PORTVERSION%%',
'description': 'A utility to find python versions on your system',
'long_description': long_description,
'license': 'MIT',
'author': '',
'author_email': 'Frost Ming <mianghong@gmail.com>',
'maintainer': None,
'maintainer_email': None,
'url': '',
'packages': [
'findpython',
'findpython._vendor',
'findpython._vendor.pep514tools',
'findpython.providers',
],
'package_dir': {'': 'src'},
'package_data': {'': ['*']},
'long_description_content_type': 'text/markdown',
'classifiers': [
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
'install_requires': INSTALL_REQUIRES,
'python_requires': '>=3.7',
'entry_points': ENTRY_POINTS,
}
setup(**setup_kwargs)