Optimize build pallets by caching source describes globally and removing unnecessary calls to arcpy.Exists.
Added a new cli command build which builds all (or a single file) pallets without processing any data. This will be useful in testing/profiling builds and testing that the conda environment has all required dependencies.
From my initial tests, this cut the build time on 57 from 1.98 hours down to 1.18 hours.
Upgraded all tests in test_core.py to use the test_gdb fixture. I have to say, it was pretty slick. I wonder if it's time to push test_gdb to its own repo and publish it to pypi.
Adds a check for a Pro license and sends an email before exiting the process. (#312)
Other niceties
Alphabetize cli commands in docopt and source code.
Replaced time.clock() with time.perf_counter() (#304)
Description of Changes
arcpy.Exists
.build
which builds all (or a single file) pallets without processing any data. This will be useful in testing/profiling builds and testing that the conda environment has all required dependencies.From my initial tests, this cut the build time on 57 from 1.98 hours down to 1.18 hours.
test_core.py
to use thetest_gdb
fixture. I have to say, it was pretty slick. I wonder if it's time to pushtest_gdb
to its own repo and publish it to pypi.Other niceties
time.clock()
withtime.perf_counter()
(#304)Test results and coverage
Speed test results