From 1fac7f0b1354152730a339f2d15feb2d8baa534e Mon Sep 17 00:00:00 2001 From: Tommy <10076072+tommyod@users.noreply.github.com> Date: Tue, 23 May 2023 17:12:17 +0200 Subject: [PATCH] Build source distribution, v 1.1.3 (#143) * Build source distribution * Update pyproject.toml * Update version to 1.1.3 * removed info to pyproject.toml --- .github/workflows/build.yml | 1 + pyproject.toml | 21 +++++++++++++++++++-- setup.py | 18 ------------------ 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a757c7a..1a70027 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,6 +54,7 @@ jobs: PYPI_PASSWORD: ${{ secrets.pypi_password }} run: | pip install cibuildwheel twine --upgrade; + python -m build --sdist python -m cibuildwheel --output-dir dist; python -m twine upload dist/* -u tommyod -p "$PYPI_PASSWORD" --skip-existing; diff --git a/pyproject.toml b/pyproject.toml index 5e285df..cc5ae81 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,18 +1,35 @@ [project] name = "KDEpy" -version = "1.1.2" - +version = "1.1.3" dependencies = [ "numpy>=1.14.2", "scipy>=1.0.1", "matplotlib>=2.2.2", ] +description = "Kernel Density Estimation in Python." +readme = {file = "README.md", content-type = "text/markdown"} +authors = [ + {name = "tommyod", email = "tommy.odland@gmail.com"}, +] +license = {file = "LICENSE"} +classifiers = [ + "Development Status :: 5 - Production/Stable", + "License :: OSI Approved :: BSD License", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] + +[project.urls] +Repository = "https://github.com/tommyod/KDEpy" [project.optional-dependencies] dev = [ "numpydoc>=0.7.0", "nbsphinx>=0.3.2", "ipython>=6.4.0", + "build>=0.10.0" ] test = [ "pytest>=3.6.2" diff --git a/setup.py b/setup.py index 86dd30b..e53c896 100644 --- a/setup.py +++ b/setup.py @@ -21,24 +21,6 @@ def read(fname): setup( - # name="KDEpy", - # version=VERSION, - description="Kernel Density Estimation in Python.", - long_description=read("README.md"), - long_description_content_type="text/markdown", - url="https://github.com/tommyod/KDEpy", - author="tommyod", - author_email="tommy.odland@gmail.com", - license="new BSD", - # See https://pypi.python.org/pypi?%3Aaction=list_classifiers - classifiers=[ - "Development Status :: 5 - Production/Stable", - "License :: OSI Approved :: BSD License", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - ], packages=["KDEpy"], cmdclass={"build_ext": build_ext}, include_dirs=[np.get_include()],