-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 gerrychain recipe #7871
Add gerrychain recipe #7871
Changes from 2 commits
1ef0008
072e6f7
ef17920
6ba8a88
1c536c6
35d4be2
8f1221a
fc815bb
2ed2cd9
0bdb291
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{% set name = "gerrychain" %} | ||
{% set version = "0.2.8" %} | ||
|
||
package: | ||
name: "{{ name|lower }}" | ||
version: "{{ version }}" | ||
|
||
source: | ||
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz | ||
sha256: 2d3dc1ff35c6f6c1670918f30e8be4c00faed1178b19501e38bfef09c2f023b5 | ||
|
||
build: | ||
number: 0 | ||
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv " | ||
|
||
requirements: | ||
host: | ||
- geopandas | ||
- matplotlib | ||
- networkx | ||
- pandas | ||
- pip | ||
- python | ||
maxhully marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- shapely | ||
run: | ||
- geopandas | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
In
Ping @jorisvandenbossche. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Even with the new See conda-forge/osmnx-feedstock#40 (comment) for more info. I'm not sure if we have any other option besides forcing the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think that is reasonable to force There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll send a PR to conda-smithy and staged-recipes tomorrow to implement that. I "forced" it here on CircleCI just as a test. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @maxhully we can force There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm OK with waiting! Let me know if there's anything I can do to help out, and thanks for all your work on this---both my recipe and conda-forge in general! |
||
- matplotlib | ||
- networkx | ||
- pandas | ||
- python | ||
maxhully marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- shapely | ||
|
||
test: | ||
imports: | ||
- gerrychain | ||
- gerrychain.constraints | ||
- gerrychain.graph | ||
- gerrychain.partition | ||
- gerrychain.proposals | ||
- gerrychain.updaters | ||
- gerrychain.vendor | ||
- gerrychain.vendor.utm | ||
|
||
about: | ||
home: https://github.com/mggg/GerryChain | ||
license: BSD | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like it is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks! Just pushed the fix. |
||
license_family: BSD | ||
license_file: LICENSE | ||
summary: Use Markov chain Monte Carlo to analyze districting plans and gerrymanders | ||
doc_url: https://gerrychain.readthedocs.io/ | ||
dev_url: https://github.com/mggg/GerryChain | ||
|
||
extra: | ||
recipe-maintainers: | ||
- maxhully |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these packages really necessary at install time? If so, it might be good to look at your package's structure to try to make your imports not happen when calling setup.py.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pointing this out---I don't think they are necessary.