Skip to content

Commit

Permalink
Data (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbonney authored Oct 15, 2024
1 parent 80f2116 commit 46a062c
Show file tree
Hide file tree
Showing 27 changed files with 34 additions and 26 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include src/pynumad/software_paths.json
recursive-include src/pynumad/data *
56 changes: 31 additions & 25 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,38 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "pyNuMAD"
description = "Numerical Manufacturing and Design Tool"
readme = "README.md"
version = "1.0.0"
authors = [
{ name = "Kirk Bonney", email = "[email protected]" },
{name = "Kirk Bonney", email = "[email protected]"},
{name = "Ernesto Camarena", email = "[email protected]"},
{name = "Evan Anderson", email = "[email protected]"},
]
maintainers = [
{ name = "Kirk Bonney", email = "[email protected]" },
{name = "Kirk Bonney", email = "[email protected]"},
{name = "Ernesto Camarena", email = "[email protected]"},
{name = "Evan Anderson", email = "[email protected]"},
]
requires-python = ">=3.8"

dependencies = [
"numpy",
"scipy",
"pandas",
"matplotlib",
"pyyaml",
"plotly",
"openpyxl",
]
"numpy",
"scipy",
"pandas",
"matplotlib",
"pyyaml",
"plotly",
"openpyxl",
]

# [project.optional-dependencies]
# test = [
# "pytest >=6.0",
# ]

classifiers = [
"License :: OSI Approved :: BSD License",
Expand All @@ -35,20 +44,17 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]

[project.optional-dependencies]
test = [
"pytest >=6.0",
]
# doc = [
# "matplotlib >=2.0",
# ]
[project.urls]
Homepage = "https://github.com/sandialabs/pynumad"
Documentation = "https://sandialabs.github.io/pyNuMAD/"
"Bug Tracker" = "https://github.com/sandialabs/pyNuMAD/issues"
Changelog = "https://sandialabs.github.io/pyNuMAD/release-notes.html"

[tool.black]
line-length = 140

[project.urls]
Homepage = "https://github.com/sandialabs/pynumad"
# Documentation = "https://package.readthedocs.io/"
# "Bug Tracker" = "https://github.com/organization/package/issues"
# Discussions = "https://github.com/organization/package/discussions"
# Changelog = "https://package.readthedocs.io/en/latest/changelog.html"
[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
where = ["src"]
1 change: 1 addition & 0 deletions src/pynumad/analysis/make_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from pynumad.paths import SOFTWARE_PATHS
import os


def write_beam_model(wt_name,station_list,settings,blade,mu,log,directory='.'):
import pynumad.analysis.beam_utils as beam_utils

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/pynumad/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# DATA_PATH is intended to be used by pynumad internals to find airfoil files
# as needed by the excel_to_blade function
package_dir = dirname(abspath(str(__file__)))
DATA_PATH = join(package_dir, "..", "data")
DATA_PATH = join(package_dir, "data")

with open(join(package_dir, "software_paths.json"), "rt") as f:
SOFTWARE_PATHS = json.load(f)
Expand Down

0 comments on commit 46a062c

Please sign in to comment.