diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b806b18 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,21 @@ +[tool.poetry] +name = "starkbank-ecdsa" +version = "2.2.0" +description = "A lightweight and fast pure python ECDSA library" +authors = ["Stark Bank "] +license = "MIT" +readme = "README.md" +repository = "https://github.com/starkbank/ecdsa-python" +packages = [ + { include = "ellipticcurve" }, +] +keywords=["ecdsa", "elliptic curve", "elliptic", "curve", "stark bank", "starkbank", "cryptograph", "secp256k1", "prime256v1"] + + +[tool.poetry.dependencies] +python = "^3.12" + + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" diff --git a/setup.py b/setup.py deleted file mode 100644 index 5b3c03d..0000000 --- a/setup.py +++ /dev/null @@ -1,36 +0,0 @@ -from os import path -from setuptools import setup, find_packages - - -with open(path.join(path.dirname(__file__), "README.md")) as readme: - README = readme.read() - - -setup( - name="starkbank-ecdsa", - packages=find_packages(exclude=["tests"]), - include_package_data=True, - description="A lightweight and fast pure python ECDSA library", - long_description=README, - long_description_content_type="text/markdown", - license="MIT License", - url="https://github.com/starkbank/ecdsa-python.git", - author="Stark Bank", - author_email="developers@starkbank.com", - keywords=["ecdsa", "elliptic curve", "elliptic", "curve", "stark bank", "starkbank", "cryptograph", "secp256k1", "prime256v1"], - version="2.2.0" -) - - -### Create a source distribution: - -#Run ```python setup.py sdist``` inside the project directory. - -### Install twine: - -#```pip install twine``` - -### Upload package to pypi: - -#```twine upload dist/*``` -