-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure project to use 'pyproject.toml' as the primary mechanism.
Expose optional packages as extras. (#43)
- Loading branch information
1 parent
6da5989
commit 02f28a7
Showing
11 changed files
with
102 additions
and
117 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
python.path=python3 | ||
python.pipPath=pip3 | ||
python.requirementsFileIncludes=requirements_dev.txt | ||
python.requirementsFileIncludes=pyproject.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,65 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel", "Cython >= 3.0", "oldest-supported-numpy"] | ||
requires = [ | ||
"setuptools >= 40.8", | ||
"wheel", | ||
"Cython >= 3.0", | ||
"oldest-supported-numpy", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "spotfire" | ||
dynamic = ["version"] | ||
description = "Package for Building Python Extensions to Spotfire" | ||
readme = "README.md" | ||
authors = [{ name = "Cloud Software Group, Inc." }] | ||
maintainers = [{ name="Spotfire Python Package Support", email = "spotfirepython@tibco.com" }] | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
# DataFrame support | ||
"pandas>=0.24.0,!=1.0.2,!=1.0.3", | ||
"numpy>=1.22,<2.0", | ||
# Package interactions | ||
"packaging", | ||
"pip >= 21.2", | ||
"setuptools", | ||
"wheel", | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Cython", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/spotfiresoftware/spotfire-python" | ||
|
||
[project.optional-dependencies] | ||
# Geographic data support | ||
geo = [ | ||
"geopandas", | ||
"shapely", | ||
] | ||
# Plotting libraries | ||
plot-matplotlib = [ | ||
"matplotlib", | ||
] | ||
plot-pil = [ | ||
"pillow >= 10.0.0", | ||
] | ||
plot-seaborn = [ | ||
"seaborn", | ||
] | ||
plot = [ "spotfire[plot-matplotlib,plot-pil,plot-seaborn]" ] | ||
# Development requirements | ||
dev = [ | ||
"spotfire[geo,plot]", | ||
"Cython >= 3.0", | ||
"html-testRunner", | ||
] | ||
# Static analysis requirements | ||
lint = [ | ||
"pylint == 2.16.2", | ||
] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
-r spotfire/requirements.txt | ||
|
||
html-testRunner | ||
geopandas | ||
matplotlib | ||
|