Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix schema file missing on install #341

Merged
merged 6 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/vulnerabilities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ on:

jobs:
selftest:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: install
run: |
python -m venv env/
source env/bin/activate
python -m pip install .
- uses: pypa/gh-action-pip-audit@v1.0.5
- uses: pypa/gh-action-pip-audit@v1.1.0
with:
inputs: requirements.txt
virtual-environment: env/
Expand Down
25 changes: 0 additions & 25 deletions METdbLoad/setup.py

This file was deleted.

37 changes: 37 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
[build-system]
requires = [
"setuptools",
"wheel",
]
build-backend = "setuptools.build_meta"

[project]
name = "metdataio"
#dynamic = ["dependencies"]
version = "3.0.0-beta6-dev"
description = "METplus component that loads data into a database"
authors = [
{name = "METplus"},
]
requires-python = ">=3.10.4"
readme = "README.md"
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]

[project.urls]
Homepage = "https://github.com/dtcenter/METdataio"

[tool.setuptools.packages]
find = {include = ["METdbLoad*", "METreadnc*", "METreformat*"]}

[tool.setuptools.package-data]
METdbLoad = [
"ush/load_specification_schema.xsd",
]

#[tool.setuptools.dynamic]
#dependencies = {file = ["requirements.txt"]}

[tool.pytest.ini_options]
addopts = "-q"
Expand Down
35 changes: 0 additions & 35 deletions setup.py

This file was deleted.

Loading