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

Run as module #33

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

stefansjs
Copy link

Moves run.py to edgar/main.py so that you can invoke the script from the command-line using python -m edgar ...

@stefansjs
Copy link
Author

To clarify one detail, installing module outside of our package is error-prone. When you pip install the package, you will end up with .../site-packages/run.py and .../site-packages/edgar/. run.py is likely to get overwritten by or overwrite another package's run.py if any other package violates their own encapsulation like this.

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

Successfully merging this pull request may close these issues.

None yet

1 participant