diff --git a/.gitignore b/.gitignore index b277915..d972033 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ fastprocess/__pycache__/ build -venv dist *.egg-info +.venv diff --git a/fastprocess/__init__.py b/fastprocess/__init__.py index 3ee40af..5a1d013 100644 --- a/fastprocess/__init__.py +++ b/fastprocess/__init__.py @@ -1 +1,3 @@ from fastprocess.fastprocess import FastProcess + +__version__ = '2.1.0' diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..41d5f95 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,28 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +dynamic = ["version"] +name = "fastprocess" +authors = [ + {name = "Dylan Stephano-Shachter", email = "dylan@theone.ninja"} +] +description = "A fast subprocess library" +readme = "README.md" +requires-python = ">=3.8" +classifiers = [ + "Programming Language :: Python", + "Operating System :: POSIX", + "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", + "Development Status :: 4 - Beta", + "Topic :: Software Development :: Libraries :: Python Modules", +] + +[project.urls] +homepage = "https://github.com/dstathis/fastprocess" +issues = "https://github.com/dstathis/fastprocess/issues" + + +[tool.hatch.version] +path = "fastprocess/__init__.py" diff --git a/setup.py b/setup.py deleted file mode 100644 index 6b483f8..0000000 --- a/setup.py +++ /dev/null @@ -1,25 +0,0 @@ -import os -from setuptools import setup - -setup( - name='fastprocess', - version='2.0.0', - author='Dylan Stephano-Shachter', - author_email='dstephanoshachter@gmail.com', - description=('A fast subprocess library'), - license='LGPL', - url='https://github.com/dstathis/fastprocess', - packages=['fastprocess'], - python_requires='>=3.8', - long_description=open( - os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.md') - ).read(), - long_description_content_type='text/markdown', - classifiers=[ - 'Programming Language :: Python', - 'Operating System :: POSIX', - 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)', - 'Development Status :: 4 - Beta', - 'Topic :: Software Development :: Libraries :: Python Modules' - ] -)