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

restructured to allow for install from pip #12

Merged
merged 5 commits into from
Mar 9, 2023

Conversation

crichgriffin
Copy link
Contributor

This is a big restructure to allow the package to ultimately be installed from PyPi.

To be compatible with pip install the everything needs to be in the subfolder called panpipes. This was causing the previous error after pip install . where the pipeline scripts were being installed into individual site-packages instead of all within panpipes.

I have also changed the names of the python and R folders to be python_scripts and R_scripts. Mostly because I wanted it to be distinct from the programs R and Python. I changed all of the pipeline_{script_name}.py to accomodate this change.

I also revamped the pyproject.toml and removed the setup.py and setup.cfg, so that the installation is only using one script as per https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/

@crichgriffin crichgriffin requested a review from bio-la March 8, 2023 13:18
@crichgriffin crichgriffin self-assigned this Mar 8, 2023
@crichgriffin crichgriffin added the enhancement New feature or request label Mar 8, 2023
@crichgriffin
Copy link
Contributor Author

Pause this PR until a couple more changes are moved over from the dev branch

@crichgriffin crichgriffin merged commit 4dbd792 into DendrouLab:main Mar 9, 2023
@crichgriffin crichgriffin deleted the pip-_install branch May 3, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants