From c9e7b32a396664e71f35ff47d42bd8432ebceb08 Mon Sep 17 00:00:00 2001 From: Julia Signell Date: Fri, 10 May 2019 13:23:42 -0400 Subject: [PATCH 1/2] Fixing up conda recipe --- conda.recipe/meta.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 conda.recipe/meta.yaml diff --git a/conda.recipe/meta.yaml b/conda.recipe/meta.yaml new file mode 100644 index 0000000..2b3ed93 --- /dev/null +++ b/conda.recipe/meta.yaml @@ -0,0 +1,39 @@ +{% set sdata = load_setup_py_data() %} + +package: + name: sphinx_pyviz_theme + version: {{ sdata['version'] }} + +source: + path: .. + +build: + noarch: python + script: python setup.py install --single-version-externally-managed --record=record.txt + entry_points: + {% for group,epoints in sdata.get("entry_points",{}).items() %} + {% for entry_point in epoints %} + - {{ entry_point }} + {% endfor %} + {% endfor %} + +requirements: + build: + - python {{ sdata['python_requires'] }} + {% for dep in sdata['extras_require'].get('build', {}) %} + - {{ dep }} + {% endfor %} + run: + - python {{ sdata['python_requires'] }} + {% for dep in sdata.get('install_requires',{}) %} + - {{ dep }} + {% endfor %} + +test: + imports: + - sphinx_pyviz_theme + +about: + home: {{ sdata['url'] }} + summary: {{ sdata['description'] }} + license: {{ sdata['license'] }} From 73778851dd2319cb1ef192dc19348d47d561eadc Mon Sep 17 00:00:00 2001 From: Julia Signell Date: Fri, 10 May 2019 13:26:04 -0400 Subject: [PATCH 2/2] Updating travis with env vars for pypi --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6a4e947..31c22b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,9 +26,8 @@ jobs: distributions: "sdist bdist_wheel" on: tags: true - user: ceball - password: - secure: VJpGRSoKsuSZSIuBwXmd/XtAviateO7xlU4LYVzz9wrfI1xzd7TQkrRLbL/JQIzPFPop79nrtWvREZC7p+e/o8llNGNWeS8GiZHjDZxaONWhvrZqJKGRu9SNfWH08dxut6gQ9XLZ1+jilAG4KMuEhD/dww7uT+rjVLUrXcKQTMzmMt6+tWlCiVc56rQ6ZZLEqTC0eVq2Ctd2GnKqpRqUbzb1ajp3Y1nqt7M8Nr/XEwTGswt5/kFZpAi7QUz2tW39W4LlPnlzGqx9fkeRxzZ0ws1vkAhB//oJOSh+ao07i3GdneGjydjWlTaqFGUlB+W/Qol/bQpMvI0PlTiGEKqRLsoqXTVyq+8yuLtFRj+C74Bbg6/heKmHhF4lRNZXbeYbQ1Z2yVhxr3i81+DTjT02+EExvJ//96iO08KJmPnjVxxFCY5DC16YMDzGZ04s1MR+Fe3CohWKkgigfnAsZukmyFpZT/Qc9MvRUEDX4/7hEptedUULs/TaQP7yMoDf1V2c7F3jDDqB5Fjkgedqmh2LRJ2YGSFl7ciJ9hpSOCg3FibOOxDX3RPMqUpxUbd9cNyYXykPBwTg2vAe6aFuRf0lahwR6b6hRp4Kbs5sFmpFcQrJjSS9ty1TbriVoeG7MEwmhLRo7L1FYXkcSHngwooxcziU1IntwWoJMhfUZ8cx+dw= + user: $PPU + password: $PPP - stage: conda_package install: