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

setup.py: FileNotFoundError: torfcli/__vars__.py #7

Closed
marcelpaulo opened this issue Jun 6, 2018 · 6 comments
Closed

setup.py: FileNotFoundError: torfcli/__vars__.py #7

marcelpaulo opened this issue Jun 6, 2018 · 6 comments

Comments

@marcelpaulo
Copy link
Contributor

marcelpaulo commented Jun 6, 2018

torfcli/_vars_.py was renamed to torfcli/_vars.py but setup.py is still referencing torfcli/_vars_.py:

paulo:~/src/torf-cli$ python3 setup.py install --user
Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    with open('torfcli/__vars__.py') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'torfcli/__vars__.py'

Running 435d328.

@rndusr
Copy link
Owner

rndusr commented Jun 6, 2018

Thanks for the heads up. Should be fixed now.

@rndusr rndusr closed this as completed Jun 6, 2018
@marcelpaulo
Copy link
Contributor Author

Thanks, @rndusr ! Not sure if it was already there before this last batch of commits, but great stuff the configuration file and the profiles ! Will cut down my script using them.

@rndusr
Copy link
Owner

rndusr commented Jun 6, 2018 via email

@marcelpaulo
Copy link
Contributor Author

I doubt such complex setup will be used. Having global and flat profile options is more than enough, I think.

One thing that I did miss though was being able to get values of variables from the environment. I used to set the comment to $USER@$HOSTNAME, so now I hardcoded it. No big deal, but it would be nice to be able to expand the values from the environment. If you think it's worth implementing, should I open an issue to request it ?

@rndusr
Copy link
Owner

rndusr commented Jun 6, 2018 via email

@marcelpaulo
Copy link
Contributor Author

feature creeping

Had never heard the expression ! And yeah, you were !

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

2 participants