moved setup.py to setup.cfg

This commit is contained in:
K4YT3X 2021-06-22 06:50:23 +00:00
parent e37a2399ce
commit 23d6cd3bb5
2 changed files with 24 additions and 43 deletions

24
setup.cfg Normal file
View File

@ -0,0 +1,24 @@
[metadata]
name = wg-meshconf
version = 2.5.0
author = K4YT3X
author_email = k4yt3x@k4yt3x.com
license = GNU General Public License v3.0
description = A tool that helps you to generate peer configuration files for WireGuard mesh networks
url = https://github.com/k4yt3x/wg-meshconf
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Topic :: Security :: Cryptography
Environment :: Console
Programming Language :: Python
Programming Language :: Python :: 3
Operating System :: OS Independent
[options]
packages = find:
install_requires = cryptography; rich
python_requires = >=3.6
[options.entry_points]
console_scripts = wg-meshconf = wg_meshconf:main

View File

@ -1,43 +0,0 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Name: wg-meshconf PyPI setup file
Creator: dimon222
Date Created: January 11, 2021
Last Modified: January 11, 2021
Dev: K4YT3X
Last Modified: May 29, 2021
pip3 install --user -U setuptools wheel twine
python3 setup.py sdist bdist_wheel
python3 -m twine upload --repository pypi dist/*
"""
import setuptools
with open("README.md", "r") as fh:
LONG_DESCRIPTION = fh.read()
setuptools.setup(
name="wg-meshconf",
version="2.4.0",
author="K4YT3X",
author_email="k4yt3x@k4yt3x.com",
description="wg-meshconf is a tool that will help you to generate peer configuration files for WireGuard mesh networks",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/k4yt3x/wg-meshconf",
packages=setuptools.find_packages(),
license="GNU General Public License v3.0",
install_requires=["cryptography", "prettytable"],
classifiers=[
"Topic :: Security :: Cryptography",
"Environment :: Console",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
entry_points={"console_scripts": ["wg-meshconf = wg_meshconf:main"]},
)