2022-06-25 21:56:08 +01:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
"""SETUP: Build application .whl file."""
|
|
|
|
|
2022-06-25 21:45:16 +01:00
|
|
|
from setuptools import setup
|
|
|
|
|
|
|
|
from app._version import VERSION
|
|
|
|
|
2022-06-25 22:08:48 +01:00
|
|
|
|
|
|
|
dependencies = []
|
2022-06-25 22:13:05 +01:00
|
|
|
with open("requirements.txt", "r", encoding="ascii") as dep_file:
|
2022-06-25 22:08:48 +01:00
|
|
|
for dep_line in dep_file.readlines():
|
|
|
|
dependencies.append(dep_line.replace("\n", ""))
|
|
|
|
|
|
|
|
|
2022-06-25 21:45:16 +01:00
|
|
|
setup(
|
|
|
|
name="ipilot",
|
|
|
|
version=VERSION,
|
|
|
|
description="IP Information Lookup Tool",
|
|
|
|
author="Luke Tainton",
|
|
|
|
author_email="luke@tainton.uk",
|
2022-06-25 22:00:05 +01:00
|
|
|
packages=["app"],
|
2022-06-25 22:08:48 +01:00
|
|
|
install_requires=dependencies,
|
2022-06-25 21:45:16 +01:00
|
|
|
entry_points={
|
|
|
|
"console_scripts": [
|
|
|
|
"ipilot = app.main:main",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
)
|