Closed Saturn closed 8 years ago
It might be a better idea to put the python modules into a separate directory package.
And then just reference the package within the setup.py
file.
I have done this here Saturn/soccer-cli@b84e3952cdda890978b2058b34b4f8b65da0cc21
The advantage would be if there was another module added in the future then the setup.py
would not have to be modified. At least that is my basic understanding :smile:
Cool @Saturn ! I have merged it. I will create a separate directory for the python modules.
:+1:
Fix architv/soccer-cli#16
Previously the setup script places 'main.py', 'leagueids.py' etc into the /bin folder along with the 'soccer' script.
This was not desired as it meant not only was the
soccer
command available via the command line (nice!) but typingmain.py
orleagueids.py
would also run the python scripts...This change means that only
soccer
gets placed in the /bin folder.Before![not_working](https://cloud.githubusercontent.com/assets/3779458/9701002/e7d11262-540f-11e5-8fd0-fd4bc1cca774.PNG)
After![working](https://cloud.githubusercontent.com/assets/3779458/9700984/7736be62-540f-11e5-9afc-c97bc6b0271f.PNG)