-
Notifications
You must be signed in to change notification settings - Fork 11
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
rename package to gplibrary to match repo name #170
Comments
I was trying to install the model to figure out how to use Sankey, when I ran into this error ```python $ pip install -e solar Obtaining file:///C:/Users/Berk/Dropbox%20%28MIT%29/MIT%20Graduate%20School/code/solar Requirement already satisfied: numpy in c:\users\berk\anaconda2\lib\site-packages (from solar==0.0.0.0) (1.14.2) Requirement already satisfied: scipy in c:\users\berk\anaconda2\lib\site-packages (from solar==0.0.0.0) (0.19.0) Requirement already satisfied: gpkit in c:\users\berk\dropbox (mit)\mit graduate school\code\gpkit (from solar==0.0.0.0) (0.7.0.0) Requirement already satisfied: pandas in c:\users\berk\anaconda2\lib\site-packages (from solar==0.0.0.0) (0.17.1) Requirement already satisfied: gpfit in c:\users\berk\dropbox (mit)\mit graduate school\code\gpfit (from solar==0.0.0.0) (0.1) Collecting gpkitmodels (from solar==0.0.0.0) Could not find a version that satisfies the requirement gpkitmodels (from solar==0.0.0.0) (from versions: ) No matching distribution found for gpkitmodels (from solar==0.0.0.0) ``` This is because the module is no longer called gpkitmodels. Easy fix.
@bqpd I have created the branch libRename and changed all mentions of gpkitmodels to gplibrary, since it was really easy. This might make people upset though when their models start throwing errors. How does one deal with that? |
@bqpd are we planning to implement this at any point, perhaps with a deprecation warning? It seems like low hanging fruit. |
This also has to do with issue #142 |
Let's do it! unfortunately there's not quite room for a deprecation warning. I think the following steps should do:
|
per convexengineering/solar@07d17d3#commitcomment-28826411
The text was updated successfully, but these errors were encountered: