Skip to content

Commit

Permalink
Migrate to static build definition (rm setup.py)
Browse files Browse the repository at this point in the history
  • Loading branch information
laszukdawid committed Jan 18, 2022
1 parent 48ea678 commit 5859f5e
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 56 deletions.
2 changes: 1 addition & 1 deletion PyEMD/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logging

__version__ = "1.2.1"
__version__ = "1.2.2"
logger = logging.getLogger("pyemd")

from PyEMD.CEEMDAN import CEEMDAN # noqa
Expand Down
2 changes: 1 addition & 1 deletion doc/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Using `pip` to install is the quickest way to try and play. The package has had
and at this point there aren't that many changes, especially nothing breaking. In the end, the basic EMD
is the same as it was published in 1998.

The easiest way is to either add `EMD-signal`_ to your `requirements.txt` file, or use the command line: ::
The easiest way is to install `EMD-signal`_ from the PyPi, for example using

$ pip install EMD-signal

Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[build-system]
requires = [
"setuptools>=42",
"wheel",
]

[tool.black]
line-length = 120

Expand Down
42 changes: 40 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
[bdist_wheel]
universal=1
[metadata]
name = EMD-signal
version = attr: PyEMD.__version__
author = Dawid Laszuk
author_email = [email protected]
description = Implementation of the Empirical Mode Decomposition (EMD) and its variations
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/laszukdawid/PyEMD
license = Apache-2.0
keywords = signal decomposition data analysis
classifiers =
Intended Audience :: Information Technology
Intended Audience :: Science/Research
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Information Analysis
Topic :: Scientific/Engineering :: Mathematics

[options]
packages = find:
install_requires =
numpy >= 1.12
scipy >= 0.19
pathos >= 0.2.1
python_requires = >=3.6, <4
test_suite = PyEMD.tests

[options.extras_require]
doc =
sphinx
sphinx_rtd_theme
numpydoc
dev =
pycodestyle
black
isort
test =
pytest
codecov


[pycodestyle]
max-line-length = 120
Expand Down
52 changes: 0 additions & 52 deletions setup.py

This file was deleted.

0 comments on commit 5859f5e

Please sign in to comment.