banana/setup.py

55 lines
1.5 KiB
Python
Raw Permalink Normal View History

2020-09-25 12:55:05 +02:00
#!/usr/bin/env python
"""The setup script."""
2020-10-01 19:53:53 +02:00
from setuptools import find_packages, setup
2020-09-25 12:55:05 +02:00
2020-10-01 19:53:35 +02:00
with open("README.md") as readme_file:
2020-09-25 12:55:05 +02:00
readme = readme_file.read()
2020-10-01 19:53:53 +02:00
with open("HISTORY.rst") as history_file:
2020-09-25 12:55:05 +02:00
history = history_file.read()
2020-10-01 19:53:53 +02:00
requirements = []
2020-09-25 12:55:05 +02:00
2020-10-01 19:53:53 +02:00
setup_requirements = ["pytest-runner"]
2020-09-25 12:55:05 +02:00
2020-10-01 19:53:53 +02:00
test_requirements = ["pytest>=3"]
2020-09-25 12:55:05 +02:00
setup(
author="itec",
2020-10-01 19:53:53 +02:00
author_email="itec@ventuordici.org",
python_requires=">=3.5",
2020-09-25 12:55:05 +02:00
classifiers=[
2020-10-01 19:53:53 +02:00
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
2020-09-25 12:55:05 +02:00
],
2020-12-19 23:58:44 +01:00
description="basebanana",
2020-09-25 12:55:05 +02:00
entry_points={
2020-10-01 19:53:53 +02:00
"console_scripts": [
2020-12-19 23:58:44 +01:00
"basebanana=banana.cli:main",
2020-10-01 19:53:53 +02:00
"banana=banana.cli:main",
]
2020-09-25 12:55:05 +02:00
},
install_requires=requirements,
license="MIT license",
2020-10-01 19:53:53 +02:00
long_description=readme + "\n\n" + history,
2020-09-25 12:55:05 +02:00
include_package_data=True,
2020-12-19 23:58:44 +01:00
keywords="basebanana",
name="basebanana",
2020-10-01 19:53:53 +02:00
packages=find_packages(include=["banana", "banana.*"]),
2020-09-25 12:55:05 +02:00
setup_requires=setup_requirements,
2020-10-01 19:53:53 +02:00
test_suite="tests",
2020-09-25 12:55:05 +02:00
tests_require=test_requirements,
2020-10-01 19:53:53 +02:00
url="https://git.lattuga.net/itec/banana",
2020-12-19 23:58:44 +01:00
version="0.2.0",
2020-09-25 12:55:05 +02:00
zip_safe=False,
)