diff --git a/Makefile b/Makefile index adcc91c..d0ed922 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY : all clean build upload test test-verbose test-coverage lint lint-fix fix -PROJECTNAME := "sectools" +PROJECTNAME := sectools all: install clean @@ -24,11 +24,11 @@ install: build build: python3 -m pip uninstall $(PROJECTNAME) --yes --break-system-packages python3 -m pip install build --break-system-packages - python3 -m build --wheel + python3 -m build -upload: build - python3 -m pip install twine --break-system-packages - python3 -m twine upload dist/* +upload: uninstall clean build + python3 -m pip install twine setuptools packaging --upgrade --break-system-packages + python3 -m twine upload dist/*.whl dist/*.tar.gz test: @echo "[$(shell date)] Running tests ..." diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..4827dcb --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,16 @@ +[project] +name = "sectools" +version = "1.5.0" +description = "A python library containing the base functions for security tools" +readme = "README.md" +requires-python = ">=3.11" +license = { text = "MIT" } +authors = [ + { name = "Podalirius", email = "podalirius@protonmail.com" } +] +dependencies = [ +] + +[build-system] +requires = ["setuptools>=42", "wheel"] +build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 0bd324e..6784932 100644 --- a/setup.py +++ b/setup.py @@ -6,15 +6,16 @@ import setuptools -long_description = """""" +long_description = """ +""" with open('requirements.txt', 'r', encoding='utf-8') as f: requirements = [x.strip() for x in f.readlines()] setuptools.setup( name="sectools", - version="1.4.4", - description="", + version="1.5.0", + description="A python library containing the base functions for security tools", url="https://github.com/p0dalirius/sectools", author="Podalirius", long_description=long_description,