-
Notifications
You must be signed in to change notification settings - Fork 371
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
Conda setup #264
Conda setup #264
Changes from 37 commits
340ebfa
0603de1
f93620b
0a3bd41
89ae37f
6678c33
5ad35f8
6c11f72
48443af
535793c
a85e943
b0d0507
a462994
49d9837
a778b23
615c2f3
b3adac1
545c192
13c728a
480215f
93870fc
4d2894f
628945b
98bd99e
361f702
5c0562b
eb9e0ff
fa32732
ff3a1ed
6958e1f
00197e0
430dddf
0837ba7
94c2cce
47811f6
95fdd7e
dba56a6
0200af5
aa41a04
8072a80
f651719
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,43 @@ | ||
{% set name = "lux-api" %} | ||
{% set version = "0.2.2" %} | ||
|
||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/lux-api-{{ version }}.tar.gz | ||
sha256: 01c5605a16b6130f159ab7d1d9d4ffd6fdc49ea854d9ab0f6481194e701c4a1f | ||
|
||
build: | ||
number: 0 | ||
noarch: python | ||
script: {{ PYTHON }} -m pip install . -vv | ||
|
||
requirements: | ||
host: | ||
- pip | ||
- python >=3.6 | ||
run: | ||
- python >=3.6 | ||
- scipy >=1.3.3 altair>=4.0.0 numpy>=1.16.5 pandas>=1.1.0 scikit-learn>=0.22 | ||
|
||
test: | ||
imports: | ||
- lux | ||
- lux._config | ||
commands: | ||
- pip check | ||
requires: | ||
- pip | ||
|
||
about: | ||
home: https://github.com/lux-org/lux | ||
summary: A Python API for Intelligent Data Discovery | ||
license: Apache-2.0 | ||
license_file: LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- dorisjlee |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{% set name = "lux-widget" %} | ||
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. Should we put this file inside the lux-widget repo? 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. Yeah I can do that |
||
{% set version = "0.1.3" %} | ||
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. Similiarly, this way the version can be read in from _version.py or package.json |
||
|
||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/lux-widget-{{ version }}.tar.gz | ||
sha256: f410138514f355c8c9de4f1f8c9534495c5418e9ea1041e8eff03a84b507b60b | ||
|
||
build: | ||
number: 0 | ||
noarch: python | ||
script: {{ PYTHON }} -m pip install . -vv | ||
|
||
requirements: | ||
host: | ||
- ipywidgets >=7.5.0 | ||
- jupyter | ||
- notebook >=4.0.0 | ||
- pip | ||
- python >=3.6 | ||
run: | ||
- ipywidgets >=7.5.0 | ||
- jupyter | ||
- notebook >=4.0.0 | ||
- python >=3.6 | ||
|
||
test: | ||
imports: | ||
- luxwidget | ||
- luxwidget.nbextension | ||
commands: | ||
- pip check | ||
requires: | ||
- pip | ||
|
||
about: | ||
home: https://github.com/lux-org/lux-widget | ||
summary: Jupyter Widget for Intelligent Data Discovery | ||
license: Apache-2.0 | ||
license_file: LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- dorisjlee |
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.
Is it possible to read this number directly from _version.py so that we wouldn't have to update the recipe every time there is a new release? A similar thing that reads from Github tags is done here
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.
I can try this approach out, I have already uploaded 0.2.2 to conda-forge so I will try it for the new release
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.
Ok that sounds good!