13 Commits

Author SHA1 Message Date
M. Anthony Aiello
b5749b1aab Be specific about python version. (#1)
Make sure references to python in shebangs and in text specify python3
rather than simply python. This better supports convention of fresh
machines.
2020-08-04 15:41:19 -04:00
James Hamil
5b27b28dc5 Changes for afrl-rq repository 2020-07-27 13:09:57 -04:00
M. Anthony Aiello
79808e93c4 Provide autocompletion for run-example (#64)
Users will have to load this into their shell by sourcing the file,
either directly (at the command line) or in their .bashrc, like this:

	source /path/to/bootstrap/install/run-example-completion.bash

Then tab completion will show the output of --list in run-example.

Note that --list isn't actually entirely well-suited for this, so there
is extra garbage that is offered. A change would be needed to
run-example to give it a mode specifically for completion. This does
work, at present.

This also works for zsh.
2020-07-24 10:26:14 -04:00
M. Anthony Aiello
ba76b2be8f Add libncurses5 (#60)
This is not required to install GNAT CE, but it is required to run GNAT Studio. Since the goal of bootstrap is to get everything set up for the user, it seems more friendly to go ahead and install libncurses5 at the outset.
2020-07-02 09:34:48 -04:00
M. Anthony Aiello
3a77d0246d Remove bootstrap-devel and provide options in bootstrap (#57)
Rather than having a growing collection of bootstrap scripts, we provide a single bootstrap script whose behavior is controlled through environment variables.
2020-07-01 09:57:44 -04:00
M. Anthony Aiello
8ea2f114b8 Support python 3.7; install pyzmq & e3-testsuite (#53)
* Support python 3.7 and install pyzmq

The latter is needed for testing, and was omitted accidentally.

* Add e3-testsuite

Needed for running the Ada tests.
2020-06-25 16:01:13 -04:00
M. Anthony Aiello
ba568eab47 Bootstrap will pass arguments to install/install (#52)
Run `curl | bash -s -- [arguments]` to use
2020-06-25 12:59:12 -04:00
M. Anthony Aiello
42032a07df Install e3-core directly (#49)
Do not need to use the repo link anymore for this.
2020-06-24 09:40:37 -04:00
M. Anthony Aiello
2129f15918 Feature/rename setenv (#48)
* Rename setenv to printenv

This is done for anod internally and seems much more clear than `setenv` (given that it doesn't actually set anything).

Options to print the environment for the installer are also modified to `--printenv` which is consistent with internal anod.

Clean up the output of install - specifically, have it give a correct set of commands to add to the .profile.

Finally, use the better (safer) syntax for the eval, so the user can get used to it.
2020-06-24 09:09:30 -04:00
M. Anthony Aiello
8737b1d748 Feature/style checks (#45)
Support pre-commit checks used in AdaCore/e3-core

These are a good example of best style practices for python projects. Adding the associated badges to the README (even though it needs to be rewritten) so the commit is complete and consistent.

Documentation of how to set up and run the checks is in CONTRIBUTING.md
2020-06-23 09:54:41 -04:00
M. Anthony Aiello
36dc91838e Create bootstrap-devel script
Automatically run devel-setup after successful install
2020-06-17 17:10:07 -04:00
M. Anthony Aiello
2013893804 Refactor anod
Master `anod` script that dispatches to subscripts for action.
Add `paths` module, which group common path-related constants.
Improve anod-devel-setup to use e3 and logging.
2020-06-17 17:08:52 -04:00
M. Anthony Aiello
e2e38ec3e3 Rename util -> install
Make the organization more clear.
2020-06-17 15:32:26 -04:00