-
Notifications
You must be signed in to change notification settings - Fork 8
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 #172 from tataratat/ft-change-build-system
pyproject based build
- Loading branch information
Showing
5 changed files
with
69 additions
and
55 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
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ conda activate gustafenv | |
git clone [email protected]:<path-to-your-fork> | ||
cd gustaf | ||
git checkout -b new-feature0 | ||
python3 setup.py develop | ||
pip install -e .[all] | ||
``` | ||
|
||
## Style / implementation preferences | ||
|
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,67 @@ | ||
[project] | ||
name = "gustaf" | ||
authors = [ | ||
{name = "Jaewook Lee", email = "[email protected]"} | ||
] | ||
description = "Process and visualize numerical-analysis-geometries." | ||
keywords = [ | ||
"numerical-analysis", | ||
"geometry", | ||
"visualization", | ||
"mesh", | ||
] | ||
requires-python = ">=3.7" | ||
license = {file = "LICENSE.txt"} | ||
classifiers = [ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Natural Language :: English", | ||
"Topic :: Scientific/Engineering", | ||
] | ||
dependencies = [ | ||
"numpy", | ||
] | ||
dynamic = ["version", "readme"] | ||
|
||
[project.optional-dependencies] | ||
all = [ | ||
"vedo>=2023.4.3,<2023.5.0", | ||
"scipy", | ||
"meshio", | ||
"napf>=0.0.5", | ||
"funi>=0.0.1", | ||
"requests" | ||
] | ||
test = [ | ||
"pytest", | ||
"funi", | ||
"napf", | ||
] | ||
|
||
[tool.setuptools] | ||
packages = [ | ||
"gustaf", | ||
"gustaf.io", | ||
"gustaf.utils", | ||
"gustaf.create", | ||
"gustaf.helpers" | ||
] | ||
|
||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "gustaf._version.version"} | ||
readme = {file = "README.md"} | ||
|
||
[tool.ruff] | ||
line-length = 79 | ||
select = [ | ||
|