-
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.
Merge pull request #106 from astrofrog/fix-deprecations
Fix distutils deprecation warnings and update infrastructure
- Loading branch information
Showing
4 changed files
with
60 additions
and
61 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=61.2", | ||
"setuptools_scm", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "glue-wwt" | ||
authors = [{name = "Thomas Robitaille", email = "[email protected]"}] | ||
license = {text = "BSD 3-Clause License"} | ||
description = "Glue WorldWide Telescope plugin" | ||
readme = "README.rst" | ||
urls = {Homepage = "https://github.com/glue-viz/glue-wwt"} | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"numpy", | ||
"glue-core>=1.13.1", | ||
"echo", | ||
"astropy", | ||
"pywwt>=0.21.0", | ||
"packaging", | ||
] | ||
dynamic = ["version"] | ||
|
||
[tool.setuptools_scm] | ||
|
||
[project.entry-points] | ||
"glue.plugins" = {wwt = "glue_wwt:setup"} | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest", | ||
"pytest-cov", | ||
"mock", | ||
] | ||
qt = [ | ||
"qtpy", | ||
"glue-qt", | ||
'PyQt5;python_version>="3"', | ||
'PyQtWebEngine;python_version>="3"', | ||
] | ||
|
||
[tool.setuptools] | ||
zip-safe = false | ||
license-files = ["LICENSE"] | ||
include-package-data = false | ||
|
||
[tool.setuptools.packages] | ||
find = {namespaces = false} | ||
|
||
[tool.setuptools.package-data] | ||
"glue_wwt.viewer" = ["*.ui", "*.html", "*.js", "*.png"] | ||
"glue_wwt.viewer.tests" = ["data/*.glu"] |