RELEASE: Version 1.0 #3
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -108,7 +108,11 @@ jobs:
|
|||||||
|
|
||||||
publish:
|
publish:
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
needs: build
|
||||||
with:
|
steps:
|
||||||
user: __token__
|
- name: Publish to PyPI
|
||||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
|
with:
|
||||||
|
user: __token__
|
||||||
|
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
|
5
app/_version.py
Normal file
5
app/_version.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
"""MODULE: Specifies app version."""
|
||||||
|
|
||||||
|
VERSION = "0.1"
|
18
setup.py
Normal file
18
setup.py
Normal 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",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user