Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Simplify the structure of the grass init module #7

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
90639ae
lib/init/grass: Simplify removing the tmpdir.
pmav99 Feb 3, 2019
785492b
lib/init/grass: Fix erroneous comment.
pmav99 Feb 3, 2019
39d047b
lib/init/grass: Simplify encode()/decode() functions.
pmav99 Feb 3, 2019
e60e034
lib/init/grass: Move all the imports at the beginning of the file.
pmav99 Feb 3, 2019
47ff016
lib/init/grass: Simplify clean_env().
pmav99 Feb 3, 2019
193277d
lib/init/grass: Just shuffling stuff around
pmav99 Feb 3, 2019
821f43f
lib/init/grass: Group the logging functions together.
pmav99 Feb 3, 2019
3a5de69
lib/init/grass: Capitalize constants.
pmav99 Feb 3, 2019
906ff68
lib/init/grass: Move the info message out of the "show_info()" function.
pmav99 Feb 3, 2019
bb2d09e
lib/init/grass: Remove unused constants
pmav99 Feb 4, 2019
44ce258
lib/init/grass: Use six for cross version Python compatibility
pmav99 Feb 4, 2019
2c00830
lib/init/grass: Remove old comment
pmav99 Feb 4, 2019
d2ab2c2
lib/init/grass: Move all the gisbase stuff in a single place.
pmav99 Feb 4, 2019
7e737ee
lib/init/grass: Clarify comment.
pmav99 Feb 4, 2019
e5d0b31
lib/init/grass: Capitalize all constants
pmav99 Feb 4, 2019
d84f4c4
lib/init/grass: Fix typo
pmav99 Feb 4, 2019
6689f15
lib/init/grass: Simplify setting a value to CONFIG_PROJSHARE
pmav99 Feb 4, 2019
5682b16
lib/init/grass: Add comments about GISBASE
pmav99 Feb 4, 2019
070f9e1
lib/init/grass: Validate cmdline in a separate function
pmav99 Feb 4, 2019
520f4df
lib/init/grass: Inline variable substitution inside "help_message()"
pmav99 Feb 24, 2019
7229f5f
lib/init/grass: Ensure that the init process only happens inside main()
pmav99 Feb 24, 2019
1809611
lib/init/grass: Refuse to start if ~/.grass7 exists but is not a dire…
pmav99 Feb 24, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .travis/linux.install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ sudo apt-get install --no-install-recommends \
libxmu-dev \
python \
python-wxgtk3.0 \
python-six \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure the additional action is actually taken for the standalone win installer, OSGeo4W, and Mac (installer and any brew) by testing or raising this on the ML or in the Trac issue.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

python-dev \
unixodbc-dev \
libnetcdf-dev \
netcdf-bin \
dpatch \
libblas-dev \
liblapack-dev \
python-numpy

python-numpy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whitespace change introducing no new line at the end of file, fix:

Suggested change
python-numpy
python-numpy

1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ RUN apt-get update \
python-pil \
python-ply \
python-requests \
python-six \
sqlite3 \
subversion \
unixodbc-dev \
Expand Down
4 changes: 4 additions & 0 deletions REQUIREMENTS.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ <h3>Optional requirements:</h3>
<a href="https://pypi.python.org/pypi/termcolor">https://pypi.python.org/pypi/termcolor</a>
</li>

<li><b>six</b> (needed for cross-version Python compatibility)<br>
<a href="https://pypi.python.org/pypi/six">https://pypi.python.org/pypi/six</a>
</li>

<li><b>FFMPEG or alternative</b> (for wxGUI Animation tool - g.gui.module),
specifically ffmpeg tool<br>
<a href="http://ffmpeg.org">http://ffmpeg.org</a>
Expand Down
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
"python-numpy",
"python-ply",
"python-pil",
"python-six",
"libnetcdf-dev",
"netcdf-bin",
"libblas-dev",
Expand Down
Loading