Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ include requirements.txt
include requirements_dev.txt
include environment.yml
include setup.py
include setup.cfg
include pyproject.toml
include LICENSE
include CREDITS.md
Expand Down
75 changes: 69 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,75 @@
[build-system]
requires = ["setuptools>=52.0", "wheel", "setuptools-scm"]
requires = ["setuptools>=61", "wheel", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name = "floatcsep"
description = "CSEP Floating Experiment application"
readme = { file = "README.md", content-type = "text/markdown" }
license = "BSD-3-Clause"
license-files = ["LICENSE"]
authors = [
{ name = "Pablo Iturrieta", email = "pciturri@gfz-potsdam.de" },
]
requires-python = ">=3.9,<3.12"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"numpy",
"dateparser",
"docker",
"gitpython",
"h5py",
"matplotlib",
"pandas",
"packaging",
"pycsep",
"pyyaml",
"requests",
"scipy",
"seaborn",
"tables",
"xmltodict",
]
dynamic = ["version"]

[project.optional-dependencies]
dev = [
"black",
"flake8",
"pytest",
"pytest-cov",
"sphinx",
"sphinx-autoapi",
"sphinx_design",
"sphinx-toolbox",
"sphinx-gallery",
"sphinx-rtd-theme",
"sphinx_copybutton",
"vcrpy",
]

[project.urls]
Homepage = "https://github.com/cseptesting/floatcsep.git"

[project.scripts]
floatcsep = "floatcsep.commands.main:floatcsep"

[tool.setuptools]
zip-safe = false

[tool.setuptools.packages.find]
include = ["floatcsep*"]

[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "no-local-version"
fallback_version = "0.0.0"

[tool.pytest.ini_options]
norecursedirs = ["tutorials", "tests/artifacts"]
testpaths = [
Expand All @@ -16,8 +84,3 @@ target-version = ["py39", "py310", "py311"]
[tool.flake8]
ignore = ["E203", "W503", "F401"]
max-line-length = 96

[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "no-local-version"
fallback_version = "0.2.0"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ docker
gitpython
h5py
matplotlib
packaging
pandas
pycsep
pyshp
pyyaml
requests
scipy
Expand Down
8 changes: 0 additions & 8 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
numpy
cartopy
black
dateparser
docker
flake8
geos
gitpython
h5py
matplotlib
mercantile
obspy
packaging
pandas
pycsep
pyproj
pyshp
pytest
pytest-cov
pyyaml
requests
scipy
seaborn
setuptools-scm
shapely
sphinx
sphinx-autoapi
sphinx_design
Expand Down
91 changes: 0 additions & 91 deletions setup.cfg

This file was deleted.

6 changes: 3 additions & 3 deletions tutorials/case_g/pymock/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
numpy==1.22.4
matplotlib==3.4.3
pytest==7.1.3
numpy
matplotlib
pytest