RELEASE: Version 1.0 #3

Merged
luketainton merged 14 commits from develop into main 2022-06-25 23:27:02 +02:00
3 changed files with 31 additions and 4 deletions
Showing only changes of commit 2cb2bc2190 - Show all commits

View File

@ -108,7 +108,11 @@ jobs:
publish:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
needs: build
steps:
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

5
app/_version.py Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env python3
"""MODULE: Specifies app version."""
VERSION = "0.1"

18
setup.py Normal file
View File

@ -0,0 +1,18 @@
from setuptools import setup
from app._version import VERSION
setup(
name="ipilot",
version=VERSION,
description="IP Information Lookup Tool",
author="Luke Tainton",
author_email="luke@tainton.uk",
packages=["ipilot"],
install_requires=["requests"],
entry_points={
"console_scripts": [
"ipilot = app.main:main",
],
},
)