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

have python cookbook create .python-version file #28

Open
Jaymon opened this issue Apr 27, 2020 · 0 comments
Open

have python cookbook create .python-version file #28

Jaymon opened this issue Apr 27, 2020 · 0 comments

Comments

@Jaymon
Copy link
Owner

Jaymon commented Apr 27, 2020

It would be cool to be able to set like a paths value:

  "python" => {
    "environments" => {
      "backend38" => {
        "version" => "3.8",
        "user" => "<USERNAME>",
        "paths" => [
          "/SOME/DIRECTORY/PATH"
        ]
      },
    }
  },

And at each of the specified paths it would create:

/SOME/DIRECTORY/PATH/.python-version

With the contents:

backend38

Only if there isn't a /python-version file that already exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant