-
Notifications
You must be signed in to change notification settings - Fork 1
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 #24 from chrishavlin/use_pyproject
Use pyproject
- Loading branch information
Showing
13 changed files
with
89 additions
and
100 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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
name: Check Build | ||
name: Build Verification | ||
on: pull_request | ||
|
||
jobs: | ||
twinecheck: | ||
name: twinecheck | ||
build-and-check: | ||
name: Build Verification | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.9 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install -U setuptools setuptools_scm wheel twine | ||
- name: Build and check | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
twine check dist/* | ||
python -m pip install --upgrade pip | ||
python -m pip install -U build twine | ||
- name: Build and check source tarball | ||
run: python -m build | ||
- name: Twine check | ||
run: twine check dist/* |
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
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,41 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "pyVBRc" | ||
version = "0.1.1" | ||
authors = [ | ||
{ name="Chris Havlin", email="[email protected]" }, | ||
] | ||
description="python utilities for working with the VBRc" | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
classifiers=[ | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
] | ||
dependencies=["numpy", | ||
"scipy", | ||
"matplotlib", | ||
"packaging", | ||
"unyt", | ||
] | ||
|
||
[tool.setuptools] | ||
packages = ["pyVBRc"] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/vbr-calc/pyVBRc" | ||
"Bug Tracker" = "https://github.com/vbr-calc/pyVBRc/issues" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"pytest>=3", | ||
"pytest-cov", | ||
"pre-commit", | ||
] |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.