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

Migrate setup.py references to pyproject.toml. #182

Merged
merged 1 commit into from
Mar 14, 2023
Merged

Migrate setup.py references to pyproject.toml. #182

merged 1 commit into from
Mar 14, 2023

Conversation

bdice
Copy link
Member

@bdice bdice commented Mar 14, 2023

Description

Fixes outdated references to setup.py in the docs.

Aligns with glotzerlab/signac#878, glotzerlab/signac-flow#704.

Checklist:

@bdice bdice requested review from a team as code owners March 14, 2023 14:03
@bdice bdice requested review from tcmoore3 and klywang and removed request for a team March 14, 2023 14:03
git clone https://github.com/glotzerlab/signac.git
cd signac
python setup.py install --user
pip install .
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The --user flag works in pip, but are we assuming most are using virtual environments these days so the flag isn't needed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m just matching what we wrote in signac’s own package docs. Yes, I think that we are assuming users are in a virtual environment and/or know how to add that flag if needed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The vast majority of users copy and paste given instructions. I agree with removing --user as it is more likely to cause problems for users (i.e. when they update their Python version or use another Python installation with the same version).

@mikemhenry
Copy link
Collaborator

LGTM! I like that you added installing from source without having to clone the repo

@bdice bdice merged commit f4c8b61 into master Mar 14, 2023
@bdice bdice deleted the no-setup-py branch March 14, 2023 15:00
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.

3 participants