diff --git a/Makefile b/Makefile index acd7cc7..08eb521 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # TO EDIT -TAG ?= v0.25.1 +TAG ?= v1.0.0 GH_USERNAME ?= TomAugspurger PANDAS_VERSION=$(TAG:v%=%) PANDAS_BASE_VERSION=$(shell echo $(PANDAS_VERSION) | awk -F '.' '{OFS="."} { print $$1, $$2}') @@ -95,7 +95,7 @@ pip-test: pandas/dist/$(TARGZ) # subprocess.CalledProcessError: Command '('pdflatex', '-interaction=nonstopmode', 'pandas.tex')' returned non-zero exit status 1. doc: - docker run -it --rm \ + docker run -it \ --name=pandas-docs \ -v ${CURDIR}/pandas:/pandas \ -v ${CURDIR}/scripts/build-docs.sh:/build-docs.sh \ @@ -116,23 +116,13 @@ link-version: push-doc: | upload-doc link-stable link-version website: - # TODO: handle previous.rst, latest.rst - pushd pandas-website && \ - ../scripts/update-website.py $(TAG) && \ - git add . && \ - git commit -m "RLS $(TAG)" && \ - make html && \ + pushd pandas/web && \ + ./pandas_web.py pandas popd - -make push-website: - pushd pandas-website && \ - git push upstream master && \ - make html && \ - make upload && \ - popd - +push-website: + rsync -ravzI -e ssh pandas/web/build/* pandas.pydata.org:/usr/share/nginx/pandas/ push-tag: pushd pandas && ../scripts/push-tag.py $(TAG) && popd diff --git a/environment.yml b/environment.yml index 59bbb8d..ca6b77e 100644 --- a/environment.yml +++ b/environment.yml @@ -9,3 +9,10 @@ dependencies: - conda-forge-pinning - lxml - twine + # web + - markdown + - feedparser + - pyyaml + - requests + - jinja2 +