-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/pip/dev/setuptools-65.5.1
- Loading branch information
Showing
459 changed files
with
88,735 additions
and
12,834 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,30 @@ | ||
# .readthedocs.yaml | ||
# Read the Docs configuration file | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
# https://blog.readthedocs.com/migrate-configuration-v2/ | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the version of Python and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
configuration: docs/html_docs/conf.py | ||
|
||
# We recommend specifying your dependencies to enable reproducible builds: | ||
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html | ||
# https://docs.readthedocs.io/en/stable/config-file/v2.html#python-install | ||
python: | ||
install: | ||
- requirements: requirements_docs.txt | ||
- method: pip | ||
path: . | ||
#extra_requirements: | ||
# - docs | ||
#- method: pip | ||
# path: another/package |
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,151 @@ | ||
# https://peps.python.org/pep-0621/ | ||
# pip wheel . --no-build-isolation -vvv | ||
|
||
#------------------------------------------------------------------------------------------- | ||
[project] | ||
name = "pyNastran" | ||
version = "1.4.0" | ||
description = "pyNastran project" | ||
#long_description = "pyNastran project" # renamed to readme | ||
|
||
authors = [ | ||
{name = "Steve Doyle", email="[email protected]"}, | ||
#{email = "[email protected]"} | ||
] | ||
license = {file = "LICENSE.txt"} | ||
#readme = {file = "README.md"} # doesn't work | ||
#readme = "pyNastran project" # it's looking for a file | ||
#readme = "README.md" # doesn't work | ||
|
||
requires-python = ">=3.9" | ||
|
||
#keywords = ["packaging", "dependency", "infer", "pyproject.toml"] | ||
keywords = ["nastran"] | ||
|
||
classifiers = [ | ||
"Topic :: Software Development", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD-3", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
|
||
# Requirements: This is done differently by poetry! | ||
dependencies = [ | ||
'numpy', | ||
'scipy', | ||
'matplotlib', | ||
'cpylog>=1.4.0', | ||
] | ||
#------------------------------------------------------------------------------------------- | ||
[project.optional-dependencies] | ||
#dev = [ | ||
# #"black>=23", | ||
#] | ||
|
||
# fancy | ||
#pandas = [ | ||
# 'pandas>=1.0,<2.0', | ||
#] | ||
|
||
formats = [ | ||
'pandas>=1.0,<2.0', | ||
'tables', # hdf5 | ||
'h5py', # hdf5 | ||
] | ||
gui_pyqt5 = [ | ||
'PyQt5', # gui library | ||
'vtk>=9.0', # rendering library | ||
"pyNastran[formats]", | ||
] | ||
#gui_pyqt6_buggy = [ | ||
# # PyQt6 buggy | ||
# 'PyQt6', # gui library | ||
# 'vtk>=9.0', # rendering library | ||
# "pyNastran[formats]", | ||
#] | ||
gui_pyside2 = [ | ||
'PySide2', # gui library | ||
'vtk>=9.0', # rendering library | ||
"pyNastran[formats]", | ||
] | ||
gui_pyside6 = [ | ||
'PySide6', # gui library | ||
'vtk>=9.0', # rendering library | ||
"pyNastran[formats]", | ||
] | ||
gui = gui_pyside6 | ||
#---- | ||
all = [ | ||
"pyNastran[gui]", | ||
] | ||
dev = [ | ||
"pyNastran[all]", | ||
"tox", | ||
"pre-commit", | ||
"bump2version", | ||
"setuptools>=66.0", | ||
"wheel", | ||
] | ||
none = [] | ||
#------------------------------------------------------------------------------------------- | ||
[project.scripts] | ||
#poetry = "infer_pyproject.cli:main" | ||
pyNastranGUI = "pyNastran.gui.gui:cmd_line" | ||
|
||
#------------------------------------------------------------------------------------------- | ||
[project.urls] | ||
|
||
homepage = "https://github.com/SteveDoyle2/pyNastran/" | ||
issue_tracker = "https://github.com/SteveDoyle2/pyNastran/issues" | ||
documentation = "https://pynastran-git.readthedocs.io/en/1.3/" | ||
repository = "https://github.com/SteveDoyle2/pyNastran.git" | ||
|
||
#------------------------------------------------------------------------------------------- | ||
[build-system] | ||
requires = [ | ||
|
||
# main | ||
"setuptools >= 66.0.0", | ||
"setuptools_scm[toml]>=6.2", | ||
"wheel<0.40", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
#requires = ["setuptools>=61.0.0", "setuptools_scm[toml]>=6.2"] | ||
|
||
#------------------------------------------------------------------------------------------- | ||
# makes "pip wheel ." work | ||
# lets us create a wheel for distribution | ||
# | ||
[tool.distutils.bdist_wheel] | ||
universal = true | ||
|
||
#------------------------------------------------------------------------------------------- | ||
# https://github.com/sphinx-toolbox/sphinx-pyproject/blob/master/pyproject.toml | ||
[tool.setuptools] | ||
include-package-data = false | ||
#packages = ["pyNastran"] | ||
|
||
[tool.setuptools.packages.find] | ||
# https://stackoverflow.com/questions/75387904/how-to-exclude-tests-folder-from-the-wheel-of-a-pyproject-toml-managed-lib | ||
# don't include pdfs/dat files in the wheel | ||
#find = {} | ||
#where | ||
include = ["pyNastran*"] | ||
#include = ["pkg*"] | ||
|
||
exclude = [ | ||
'models/*', | ||
'pyNastran/converters/dev*', | ||
'pyNastran/converters/dev*', | ||
#'pyNastran/bdf/*.bdf' | ||
] | ||
|
||
#------------------------------------------------------------------------------------------- | ||
|
||
#[tool.setuptools_scm] |
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
Oops, something went wrong.