RedHatQE / pylero

Python wrapper for the Polarion WSDL API
https://redhatqe.github.io/pylero/
MIT License
38 stars 25 forks source link

No such file or directory: ~/.pylero or ./.pylero #147

Closed JaneSoo closed 1 year ago

JaneSoo commented 1 year ago

I installed pylero through pip and I wanted to update the config file. In my local, the default config file locates here ...lib/python3.9/site-packages/pylero/pylero.cfg. However inside pylero.cfg, it is suggested to update the values in ~/.pylero or ./.pylero. I tried to find the config file there but I don't find any pylero directory there. Should I make one?

cd ./.pylero
bash: cd: ./.pylero: No such file or directory

cd ~/.pylero
bash: cd: /root/.pylero: No such file or directory
waynesun09 commented 1 year ago

@JaneSoo check the configuration doc: https://github.com/RedHatQE/pylero#configuration

you are supposed to create one after you install the package, you could copy from the default one:

$ cp ...lib/python3.9/site-packages/pylero/pylero.cfg ~/.pylero

JaneSoo commented 1 year ago

Oh thank you. I thought it created .pylero by default and I don't have to create one myself.