Skip to content

Commit

Permalink
pydeck: Publish to conda-forge (#4202)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajduberstein authored Feb 5, 2020
1 parent ddb68da commit 6526772
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 3 deletions.
3 changes: 1 addition & 2 deletions bindings/pydeck/PUBLISH.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This will run Python and JS tests and produce a commit with the release version.

```
rm -r ./dist/* # If exists, clear out the current dist folder
pip install -e . --verbose
pip install . --verbose
python setup.py sdist bdist_wheel
pip install twine # If you have not installed twine
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Expand All @@ -60,7 +60,6 @@ where `{{version}}` is your semantic version.

5) If everything appears to be working, you can publish to PyPI and conda-forge.


## Updating documentation

The pydeck documentation has three main components
Expand Down
52 changes: 52 additions & 0 deletions bindings/pydeck/conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{% set name = "pydeck" %}
{% set version = "0.2.1" %}

package:
name: "{{ name|lower }}"
version: "{{ version }}"

source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: "d58bc0a08707a613ccf1aa99ccdab3b040ac6d93c70046ef165cae913b527fd8"

build:
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps -vv"
noarch: python

requirements:
host:
- ipykernel
- ipython
- jinja2
- pip
- python
- traitlets
run:
- ipykernel
- ipywidgets
- jinja2
- python
- traitlets

test:
imports:
- pydeck
- pydeck.bindings
- pydeck.data_utils
- pydeck.io
- pydeck.nbextension
- pydeck.widget

about:
home: "https://github.com/uber/deck.gl/tree/master/bindings/pydeck"
license: "MIT"
license_family: "MIT"
license_file: "LICENSE.txt"
summary: "Widget for deck.gl maps"
doc_url: "https://deckgl.readthedocs.io/en/latest/"
dev_url: "https://github.com/uber/deck.gl/tree/master/bindings/pydeck"

extra:
recipe-maintainers:
- ajduberstein
2 changes: 1 addition & 1 deletion bindings/pydeck/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def run(self):
"jinja2>=2.10.1",
],
setup_requires=["Jinja2>=2.10.1"],
tests_require=["pytest>4.0.2", "pandas", "requests"],
tests_require=["pytest>=4.0.2", "pandas", "requests"],
data_files=[
(
"share/jupyter/nbextensions/pydeck",
Expand Down

0 comments on commit 6526772

Please sign in to comment.