From 2983a5295625f8417ec620f6ac09cd8efad3a5e5 Mon Sep 17 00:00:00 2001 From: Emmanuelle Gouillart Date: Mon, 2 Dec 2019 14:38:21 -0500 Subject: [PATCH] removed submodules --- .gitmodules | 3 --- make_instructions.txt | 60 ------------------------------------------ setup_submodules.py | 23 ---------------- submodules/mplexporter | 1 - 4 files changed, 87 deletions(-) delete mode 100644 .gitmodules delete mode 100644 make_instructions.txt delete mode 100644 setup_submodules.py delete mode 160000 submodules/mplexporter diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index ad8c80fba3d..00000000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "submodules/mplexporter"] - path = submodules/mplexporter - url = git://github.com/mpld3/mplexporter.git diff --git a/make_instructions.txt b/make_instructions.txt deleted file mode 100644 index 5ada039d75f..00000000000 --- a/make_instructions.txt +++ /dev/null @@ -1,60 +0,0 @@ -################# -MAKE INSTRUCTIONS -################# - -Contents: - - Available targets - - Getting setup - - Pulling in changes from subprojects - - Why this is worthwhile - -################################################################################ - -Available targets (i.e. $ make target): - - readme -> `less` this file - - update_default_schema -> download the latest plot schema from plot.ly - - setup_subs -> delete old submodule locations, init, update, and sync new - - install -> 1. sync submodules 2. install plotly with setup.py - - sync_subs -> sync all submodules - - sync_mpl -> sync mplexporter submodule ONLY - - sync_chunked -> sync chunked_requests submodule ONLY - - pull_subs -> `cd` into *each* submodule and `git pull origin master` - - pull_mpl -> pull in mplexporter *master* branch - - pull_chunked -> pull in chunked_requests *master* branch - -################################################################################ - -Getting setup: - - 1. run `$ make setup_subs` - 2. if that doesn't work, DELETE your local repo, re-clone, try again. - -################################################################################ - -Pulling in changes from subprojects: - - 1. Only pull submodules that you require (e.g., $ make pull_mpl) - 2. Make sure to sync these changes (e.g., $ make sync_mpl) - -################################################################################ - -Why this is worthwhile: - - This makefile is mostly to deal with git *submodules*. Since these - *subprojects* only copy over their current commits (not the actual content), - accepting pull requests is really sloppy! By *syncing* changes, we can - more easily track pull new commits from other branches. diff --git a/setup_submodules.py b/setup_submodules.py deleted file mode 100644 index 23f1566ac5a..00000000000 --- a/setup_submodules.py +++ /dev/null @@ -1,23 +0,0 @@ -import os -import shutil -import subprocess - -here = os.path.dirname(os.path.abspath(__file__)) - -if __name__ == "__main__": - # Init submodules - subprocess.check_output(["git", "submodule", "init"]) - - # Update submodules - subprocess.check_output(["git", "submodule", "update"]) - - # Replace mplexporter directory - mpl_dst = os.path.join( - here, "packages", "python", "plotly", "plotly", "matplotlylib", "mplexporter" - ) - - shutil.rmtree(mpl_dst, ignore_errors=True) - - shutil.copytree( - os.path.join(here, "submodules", "mplexporter", "mplexporter"), mpl_dst - ) diff --git a/submodules/mplexporter b/submodules/mplexporter deleted file mode 160000 index 474a3a49fe3..00000000000 --- a/submodules/mplexporter +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 474a3a49fe3b3dca859f69a6173263018dd2d34c