Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 ..."
Expand Down
16 changes: 16 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down