Skip to content

Commit

Permalink
Release version 0.1.0 on pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasarsouze committed Feb 23, 2024
1 parent a0ce6f1 commit 301296e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/on-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ jobs:
- name: Check wheels
run: |
cd dist || exit
$CONDA/bin/python -m pip install plantconvert*.whl || exit
$CONDA/bin/python -m pip install openalea.plantconvert*.whl || exit
$CONDA/bin/python -m twine check * || exit
$CONDA/bin/python -c "import plantconvert"
$CONDA/bin/python -c "import openalea.plantconvert"
- name: Publish a Python distribution to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
4 changes: 2 additions & 2 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
History
=======

0.1.0 (2023-05-22)
------------------
0.1.0 (2024-02-23)
-------------------

* First release on PyPI.
10 changes: 9 additions & 1 deletion docs/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ dependencies:
- openalea.plantgl
- openalea.mtg
- numpy
- pip
- pip
pip:
- openalea.plantconvert
- vtk
- pygltflib
- sphinx
- sphinx_rtd_theme
- nbsphinx
- nbsphinx_link
6 changes: 0 additions & 6 deletions docs/requirements.txt

This file was deleted.

17 changes: 8 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Framework :: OpenAlea"
"Topic :: Scientific/Engineering"
]
dependencies = [
"numpy >= 1.22",
Expand All @@ -30,7 +29,7 @@ dependencies = [
"pygltflib >= 1.15"
]
description = "Convert a plant to / from a `mtg` format to a wide range of other formats"
dynamic = ["version"]
version = "0.1.0"
keywords = ["MTG", "openalea", ".opf", "format", "plantconvert"]
license = {file = "LICENSE"}
name = "openalea.plantconvert"
Expand Down Expand Up @@ -92,9 +91,9 @@ zip-safe = false
#[tool.setuptools.packages.find]
#where = ["src"]

[tool.setuptools_scm]
write_to = "src/openalea/plantconvert/version.py"
write_to_template = '''
# Do not change! Do not track in version control!
__version__ = "{version}"
'''
#[tool.setuptools_scm]
#write_to = "src/openalea/plantconvert/version.py"
#write_to_template = '''
## Do not change! Do not track in version control!
#__version__ = "{version}"
#'''

0 comments on commit 301296e

Please sign in to comment.