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

Fix pyproject.toml file & setup #12

Open
CatChenal opened this issue Jun 8, 2023 · 0 comments
Open

Fix pyproject.toml file & setup #12

CatChenal opened this issue Jun 8, 2023 · 0 comments
Assignees

Comments

@CatChenal
Copy link
Owner

  1. Amend [console_scripts] group:
    new-conda-env = "new_conda_env.cli:main" # needs quotes
    1. Add "setuptools_scm[toml]>=6.2" to build-system group
  2. Add group: [tool.setuptools_scm] write_to = "new_conda_env/_version.py"
    #fallback_version = "0.1.x"
  3. Change [project] group: #version = "0.1.0"
    dynamic = ["version"]
  4. Update keywords = ["conda", "env", "tool", "lean yml"]
  5. Add code to init.py:
try:
    from ._version import version as __version__
    from ._version import version_tuple
except ImportError:
    __version__ = "unknown version"
    version_tuple = (0, 0, "unknown version")
@CatChenal CatChenal self-assigned this Jun 8, 2023
@CatChenal CatChenal moved this to 🏗 In progress in Project new_conda_env Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

No branches or pull requests

1 participant