Skip to content

Fix all examples to run either from root or in examples dir #13

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

Merged
merged 1 commit into from
May 23, 2022

Conversation

madeline-scyphers
Copy link
Collaborator

Fixed all errors in examples that were due to out dated code (pandas
issues with options and indexing). Also fixed it so that all the paths
that use git-pandas as the repo do it in a way that they can be ran
inside the examples directory or at the root directory. Part of doing
this was to better setup the setup.py file. All the requirements are now
in the setup.py, and the requirements.txt file says to -e . so that it
install git-pandas in the local envirornment in editable mode. The
normal reccomended way for package development. And then also added an
optional extra dependencies section and added examples dependencies like
matplotlib, so you can install those by going pip isntall
git-pandas[examples]. Also added a requirements-dev.txt which installs
the requirements.txt, but also the optional extra dependencies, so you
can do things like run the examples.

Fixed all errors in examples that were due to out dated code (pandas
issues with options and indexing). Also fixed it so that all the paths
that use git-pandas as the repo do it in a way that they can be ran
inside the examples directory or at the root directory. Part of doing
this was to better setup the setup.py file. All the requirements are now
in the setup.py, and the requirements.txt file says to `-e .` so that it
install git-pandas in the local envirornment in editable mode. The
normal reccomended way for package development. And then also added an
optional extra dependencies section and added examples dependencies like
matplotlib, so you can install those by going pip isntall
git-pandas[examples]. Also added a requirements-dev.txt which installs
the requirements.txt, but also the optional extra dependencies, so you
can do things like run the examples.
@wdm0006
Copy link
Owner

wdm0006 commented May 23, 2022

Looks great, thanks for the contribution

@wdm0006 wdm0006 merged commit 2b25a3e into wdm0006:master May 23, 2022
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.

2 participants