Skip to content

Commit

Permalink
Build source distribution, v 1.1.3 (#143)
Browse files Browse the repository at this point in the history
* Build source distribution

* Update pyproject.toml

* Update version to 1.1.3

* removed info to pyproject.toml
  • Loading branch information
tommyod committed May 23, 2023
1 parent a7276e9 commit 1fac7f0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
21 changes: 19 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"},
]
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"
Expand Down
18 changes: 0 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="[email protected]",
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()],
Expand Down

0 comments on commit 1fac7f0

Please sign in to comment.