Skip to content

Provide a default version in setup.py #9

Description

@gabe-l-hart

Describe the bug

When running setup.py to install locally, the RELEASE_VERSION env var is currently required. If not set, an AssertionError will be raised. Instead, it should simply use a default value like "0.0.0".

Sample Code

python setup.py install

Expected behavior

The module should exit completely and install the local copy of aconfig

Observed behavior

Traceback (most recent call last):                                                                                             
  File "setup.py", line 20, in <module>                                                                   
    assert version is not None, "Must set RELEASE_VERSION"                                                                     
AssertionError: Must set RELEASE_VERSION   

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions