Skip to content

Commit

Permalink
docs: clone arcpy instead of install
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdadams authored and steveoh committed Nov 30, 2022
1 parent df6b9f5 commit fc01aa4
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,27 +99,26 @@ A normalized string representing the entire address that was passed into the con

## Installation (requires Pro 2.7+)

1. create conda environment
- `conda create --name sweeper python=3.7`
<!-- Current conda install arcpy -c esri seems to be wonky; just clone to be safe -->
1. clone arcgis conda environment
- `conda create -name sweeper --clone arcgispro-py3`
1. activate environment
- `activate sweeper`
1. install arcpy
- `conda install arcpy -c esri`
1. install sweeper
- `pip install agrc-sweeper`

## Development

1. create conda environment
- `conda create --name sweeper python=3.7`
1. clone arcgis conda environment
- `conda create -name sweeper --clone arcgispro-py3`
1. activate environment
- `activate sweeper`
1. `test_metadata.py` uses a SQL database that needs to be restored via `src/sweeper/tests/data/Sweeper.bak` to your local SQL Server.

### Installing dependencies

1. install arcpy
- `conda install -c esri arcpy`
1. clone arcgis conda environment
- `conda create -name sweeper --clone arcgispro-py3`
1. install only required dependencies to run sweeper
- `pip install -e .`
1. install required dependencies to work on sweeper
Expand Down

0 comments on commit fc01aa4

Please sign in to comment.