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

Add setup.py file #7

Merged
merged 1 commit into from
Jul 5, 2022
Merged

Add setup.py file #7

merged 1 commit into from
Jul 5, 2022

Conversation

akshayka
Copy link
Member

Removes the need to append to sys.path, which is error-prone.

Instead, you can just type (in the base directory) pip install . to install the package into a local environment, then use it from any other Python module (located anywhere on your machine) with import osd.

Later, when you know which versions of the dependencies you require, you can add that information to this file.

Removes the need to append to sys.path, which is error-prone
and finicky (because it is typically used with relative paths).
@akshayka akshayka requested a review from bmeyers June 29, 2022 19:36
@bmeyers
Copy link
Member

bmeyers commented Jul 5, 2022

thank you @akshayka!

@bmeyers bmeyers merged commit 9a7123b into cvxgrp:master Jul 5, 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