-
Notifications
You must be signed in to change notification settings - Fork 0
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 #34 from fusion-energy/develop
update package making
- Loading branch information
Showing
7 changed files
with
98 additions
and
54 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: conda-build-test | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- develop | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: continuumio/miniconda3:4.10.3 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up conda | ||
run: | | ||
apt-get --allow-releaseinfo-change update | ||
apt install -y libgl1-mesa-glx | ||
conda install -y anaconda-client conda-build | ||
conda config --set anaconda_upload no | ||
- name: Build and test | ||
env: | ||
GIT_DESCRIBE_TAG: 0.1 | ||
run: | | ||
conda build conda -c cadquery -c conda-forge --config-file conda/conda_build_config.yaml |
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,10 +1,40 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools >= 46.4.0", | ||
"wheel", | ||
"setuptools_scm[toml] >= 6.3.1", | ||
] | ||
requires = ["setuptools >= 65.4.0", "setuptools_scm[toml]>=7.0.5"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "brep_part_finder" | ||
authors = [ | ||
{ name="Jonathan Shimwell", email="[email protected]" }, | ||
] | ||
license = {file = "LICENSE.txt"} | ||
description = "A Python package to identify the part ID number in Brep format CAD files" | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
keywords = ["brep", "geometry", "part", "find", "identify", "volume"] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = [ | ||
"numpy>=1.21.1", | ||
] | ||
dynamic = ["version"] | ||
|
||
|
||
[tool.setuptools_scm] | ||
write_to = "brep_part_finder/_version.py" | ||
write_to = "src/brep_part_finder/_version.py" | ||
|
||
|
||
[project.optional-dependencies] | ||
tests = [ | ||
"pytest", | ||
] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/fusion-energy/brep_part_finder" | ||
"Bug Tracker" = "https://github.com/fusion-energy/brep_part_finder/issues" | ||
|
||
[tool.setuptools] | ||
package-dir = {"" = "src"} |
File renamed without changes.
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