This repository was archived by the owner on Jun 12, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Scripts for Windows host and update for new website #32
Merged
TomAugspurger
merged 12 commits into
pandas-dev:master
from
simonjayhawkins:windows-host
Jul 17, 2020
Merged
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
eb14034
WIP: scripts for Windows host
simonjayhawkins ca53929
wip - was using volume, will change to mount cloned directory
simonjayhawkins 129a8ed
wip
simonjayhawkins cce6e8a
wip
simonjayhawkins f6ab739
wip
simonjayhawkins 1ef9852
whitespace
simonjayhawkins 3608bae
wip
simonjayhawkins 126cbc1
revert changes to Makefile
simonjayhawkins db7b75d
wip
simonjayhawkins 9cf9671
wip
simonjayhawkins 2dba9d6
delete web stuff
simonjayhawkins e181902
remove webiste repo link
simonjayhawkins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,12 @@ SHELL := /bin/bash | |
|
||
init-repos: | ||
git clone https://github.com/pandas-dev/pandas && git -C pandas remote rename origin upstream && git -C pandas remote add origin https://github.com/$(GH_USERNAME)/pandas | ||
git clone https://github.com/pandas-dev/pandas-website && git -C pandas-website remote rename origin upstream && git -C pandas-website remote add origin https://github.com/$(GH_USERNAME)/pandas-website | ||
git clone https://github.com/conda-forge/pandas-feedstock && git -C pandas-feedstock remote rename origin upstream && git -C pandas-feedstock remote add origin https://github.com/$(GH_USERNAME)/pandas-feedstock | ||
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. didn't use this. I assume not now needed. |
||
git clone --recursive https://github.com/MacPython/pandas-wheels && git -C pandas-wheels remote rename origin upstream && git -C pandas-wheels remote add origin https://github.com/$(GH_USERNAME)/pandas-wheels | ||
|
||
update-repos: | ||
git -C pandas checkout master && git -C pandas pull | ||
git -C pandas-wheels checkout master && git -C pandas-wheels pull | ||
git -C pandas-website checkout master && git -C pandas-website pull | ||
git -C pandas-feedstock checkout master && git -C pandas-feedstock pull | ||
pushd pandas-wheels && git submodule update --recursive --remote && popd | ||
|
||
|
@@ -105,17 +103,6 @@ link-version: | |
|
||
push-doc: | upload-doc link-stable link-version | ||
|
||
website: | ||
pushd pandas/web && \ | ||
git checkout master && \ | ||
git pull && \ | ||
./pandas_web.py pandas && \ | ||
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 | ||
|
||
|
@@ -136,7 +123,6 @@ wheels: | |
|
||
download-wheels: | ||
./scripts/download_wheels.py $(PANDAS_VERSION) | ||
# TODO: Fetch from https://www.lfd.uci.edu/~gohlke/pythonlibs/ | ||
|
||
|
||
upload-pypi: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM continuumio/miniconda3:latest | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y make rsync && \ | ||
apt-get clean | ||
|
||
RUN conda update conda -y | ||
|
||
RUN git clone https://github.com/pandas-dev/pandas-release | ||
|
||
RUN conda env update -n base --file=pandas-release/environment.yml | ||
|
||
ARG GH_USERNAME | ||
|
||
ENV GH_USERNAME=$GH_USERNAME | ||
|
||
WORKDIR pandas-release | ||
|
||
RUN make init-repos | ||
|
||
RUN git config --global user.email "[email protected]" | ||
|
||
RUN git config --global user.name "Pandas Development Team" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 think not needed