diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 283df7c65..2436f10be 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -29,6 +29,7 @@ jobs: run: | pip install --upgrade pip pip install poetry + pip install poetry-dynamic-versioning - name: Poetry cache uses: actions/cache@v2 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 357fd0285..100c0be33 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -34,6 +34,7 @@ jobs: run: | pip install --upgrade pip pip install poetry + pip install poetry-dynamic-versioning - name: Poetry cache uses: actions/cache@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 43e9a33a1..d02d5441a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,6 +28,7 @@ jobs: run: | pip install --upgrade pip pip install poetry + pip install poetry-dynamic-versioning - name: Create environment variables run: echo "BTK_HOME=$GITHUB_WORKSPACE" >> $GITHUB_ENV diff --git a/btk/__init__.py b/btk/__init__.py index 059d2cad8..6b66f35a6 100644 --- a/btk/__init__.py +++ b/btk/__init__.py @@ -6,7 +6,7 @@ """ __author__ = "btk developers" __email__ = "imendoza@umich.edu" -__version__ = "0.0.1a5" +__version__ = "0.0.0" from . import catalog from . import create_blend_generator diff --git a/pyproject.toml b/pyproject.toml index 7f7e3a0f8..3522c80d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ name = "blending_toolkit" packages = [{include = "btk"}] readme = "README.md" repository = "https://github.com/LSSTDESC/BlendingToolKit" -version = "0.0.1-alpha.5" +version = "0.0.0" [tool.poetry.dependencies] astropy = "^4.2" @@ -32,13 +32,13 @@ galsim-hub = {version = "^0.0.1-rc.4", python = "~3.7", optional = true} hydra-core = "^1.0.6" matplotlib = "^3.3.3" numpy = "^1.18.5" +pandas = "^1.2.5" python = "^3.7.1" scikit-image = "^0.18.0" scipy = "^1.4.1" +seaborn = "^0.11.1" sep = "^1.1.1" tensorflow = {version = "1.15.5", python = "~3.7", optional = true} -pandas = "^1.2.5" -seaborn = "^0.11.1" [tool.poetry.dev-dependencies] Cython = "^0.29.21" @@ -63,6 +63,11 @@ btk = "btk.__main__:run" [tool.poetry.urls] "Bug Tracker" = "https://github.com/LSSTDESC/BlendingToolKit/issues" +[tool.poetry-dynamic-versioning] +enable = true +style = "semver" +vcs = "git" + [tool.black] line-length = 100 target-version = ['py37'] @@ -72,4 +77,4 @@ galsim-hub = ["galsim-hub", "tensorflow"] [build-system] build-backend = "poetry.core.masonry.api" -requires = ["poetry-core>=1.0.0"] +requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]