Skip to content

Commit

Permalink
Removed Maxiconda constructor example and updated Miniconda and Jetso…
Browse files Browse the repository at this point in the history
…nconda READMEs. (conda#529)
  • Loading branch information
kathatherine authored Jul 21, 2022
1 parent e7856bc commit 5799a06
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 105 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ The complete list of keys in this file can be
found in <a href="./CONSTRUCT.md">CONSTRUCT.md</a>.
Also, the directory may contain some additional optional files (such as a
license file, and image files for the Windows installer).
An example is located
in <a href="./examples/maxiconda">examples/maxiconda</a>.
Examples for various installations are located
in the <a href="./examples">examples</a>directory.


## Development
Expand Down
2 changes: 1 addition & 1 deletion constructor/imaging.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ def write_images(info, dir_path):
if __name__ == '__main__':
info = {'name': 'test', 'version': '0.3.1',
'default_image_color': 'yellow',
'welcome_image': '../examples/maxiconda/bird.png'}
'welcome_image': '../examples/miniconda/bird.png'}
write_images(info, '.')
2 changes: 1 addition & 1 deletion constructor/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def main_build(dir_path, output_dir='.', platform=cc_platform,
# '_platform', '_download_dir', '_outpath'
# 'specs': ['python 3.5*', 'conda', 'nomkl', 'numpy', 'scipy', 'pandas',
# 'notebook', 'matplotlib', 'lighttpd']
# 'license_file': '/Users/kfranz/continuum/constructor/examples/maxiconda/EULA.txt'
# 'license_file': '/Users/kfranz/continuum/constructor/examples/miniconda/EULA.txt'
# '_dists': List[Dist]
# '_urls': List[Tuple[url, md5]]

Expand Down
2 changes: 1 addition & 1 deletion docs/source/creating-installers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ specific platforms - UNIX, Win.

.. code-block::
name: Maxiconda
name: Miniconda
version: 2.5.5
channels:
- http://repo.continuum.io/pkgs/main/
Expand Down
14 changes: 6 additions & 8 deletions examples/jetsonconda/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
Maxiconda example
Jetsonconda example
=================

In this example, we want to demonstrate how to build installers for
Linux, Mac and Windows, which are similar to Anaconda installers, but
significantly smaller in size, but bigger than Miniconda (hence the name
Maxiconda).
In this example, we want to demonstrate how to build Jetsonconda installers for
Linux, Mac and Windows.

We only want to construct installers which include:
- Python 3.5 (because Python 3 is the way of the future)
Expand All @@ -21,12 +19,12 @@ Also, we want to have a our own welcome image for the Windows installer.
This image `bird.png` is also located in this directory, and is re-sized
by constructor as well.

Finally, to create a Maxiconda installer, you simply run (in this directory):
Finally, to create a Jetsonconda installer, you simply run (in this directory):

$ constructor .
...
$ ls -lh Maxi*
-rwxr-xr-x 1 ilan staff 59M Feb 27 18:02 Maxiconda-2.5.5-MacOSX-x86_64.sh
$ ls -lh Jetson*
-rwxr-xr-x 1 ilan staff 59M Feb 27 18:02 Jetsonconda-2.5.5-MacOSX-x86_64.sh

This was done on Mac OS X.
A 60MB installer is not bad for all these packages, I would say.
Expand Down
24 changes: 0 additions & 24 deletions examples/maxiconda/EULA.txt

This file was deleted.

35 changes: 0 additions & 35 deletions examples/maxiconda/README.md

This file was deleted.

Binary file removed examples/maxiconda/bird.png
Binary file not shown.
26 changes: 0 additions & 26 deletions examples/maxiconda/construct.yaml

This file was deleted.

11 changes: 5 additions & 6 deletions examples/miniconda/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
Maxiconda example
Miniconda example
=================

In this example, we want to demonstrate how to build installers for
Linux, Mac and Windows, which are similar to Anaconda installers, but
significantly smaller in size, but bigger than Miniconda (hence the name
Maxiconda).
significantly smaller in size.

We only want to construct installers which include:
- Python 3.5 (because Python 3 is the way of the future)
Expand All @@ -21,12 +20,12 @@ Also, we want to have a our own welcome image for the Windows installer.
This image `bird.png` is also located in this directory, and is re-sized
by constructor as well.

Finally, to create a Maxiconda installer, you simply run (in this directory):
Finally, to create a Miniconda installer, you simply run (in this directory):

$ constructor .
...
$ ls -lh Maxi*
-rwxr-xr-x 1 ilan staff 59M Feb 27 18:02 Maxiconda-2.5.5-MacOSX-x86_64.sh
$ ls -lh Mini*
-rwxr-xr-x 1 ilan staff 59M Feb 27 18:02 Miniconda-2.5.5-MacOSX-x86_64.sh

This was done on Mac OS X.
A 60MB installer is not bad for all these packages, I would say.
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
REPO_DIR = os.path.dirname(HERE)
EXAMPLES_DIR = os.path.join(REPO_DIR, 'examples')
PY3 = sys.version_info[0] == 3
WHITELIST = ['grin', 'jetsonconda', 'maxiconda', 'newchan']
WHITELIST = ['grin', 'jetsonconda', 'miniconda', 'newchan']
BLACKLIST = []


Expand Down

0 comments on commit 5799a06

Please sign in to comment.