63 lines
2.0 KiB
Python
Raw Permalink Normal View History

2022-06-25 22:27:01 +01:00
#!/usr/bin/env python3
"""SETUP: Build application .whl file."""
from setuptools import setup
2024-04-27 18:43:08 +01:00
from ipilot._version import VERSION
2022-06-25 22:27:01 +01:00
2023-06-04 12:14:40 +01:00
dependencies: list = []
2022-06-25 22:27:01 +01:00
with open("requirements.txt", "r", encoding="ascii") as dep_file:
for dep_line in dep_file.readlines():
dependencies.append(dep_line.replace("\n", ""))
2023-06-04 12:14:40 +01:00
test_dependencies: list = []
with open("requirements-dev.txt", "r", encoding="ascii") as dep_file:
for dep_line in dep_file.readlines():
test_dependencies.append(dep_line.replace("\n", ""))
2022-06-25 22:27:01 +01:00
setup(
name="ipilot",
version=VERSION,
description="IP Information Lookup Tool",
2023-06-04 12:14:40 +01:00
long_description="IP Information Lookup Tool",
long_description_content_type="text/x-rst",
2022-06-25 22:27:01 +01:00
author="Luke Tainton",
author_email="luke@tainton.uk",
packages=["app"],
install_requires=dependencies,
tests_require=test_dependencies,
2022-06-25 22:27:01 +01:00
entry_points={
"console_scripts": [
2024-04-27 18:43:08 +01:00
"ipilot = ipilot.main:main",
2022-06-25 22:27:01 +01:00
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
"Framework :: Pytest",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Intended Audience :: Telecommunications Industry",
"License :: Freeware",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet",
"Topic :: Internet :: Name Service (DNS)",
"Topic :: System :: Networking",
],
2022-06-25 22:27:01 +01:00
)