diff --git a/.gitignore b/.gitignore index 0fa285e..85ca971 100644 --- a/.gitignore +++ b/.gitignore @@ -44,4 +44,4 @@ coverage.xml docs/_build/ # Earth Engine properties file -.ee-properties +.properties diff --git a/.ee-properties-TEMPLATE b/.properties-TEMPLATE similarity index 100% rename from .ee-properties-TEMPLATE rename to .properties-TEMPLATE diff --git a/README.md b/README.md index 926d6b7..18cccd5 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ out-of-the box project for getting started with earth engine python api This project is meant to be a quick starting point for writing earth engine scripts using python. It is set up as an aptana pydev project. 1. Download the zip for this repositry to your local machine. Don't clone! -2. Open .ee-properties-TEMPLATE, put in your service account, and point the script to your private key file. Save the file as .ee-properties - This file will be ignored by git. You can delete .ee-properties-TEMPLATE. +2. Open .properties-TEMPLATE, put in your service account, and point the script to your private key file. Save the file as .ee-properties + This file will be ignored by git. You can delete .properties-TEMPLATE. 3. Rename the ee-python folder to your-project-name 4. in .project, update to diff --git a/src/test.py b/src/test.py index 915df98..4deed1b 100644 --- a/src/test.py +++ b/src/test.py @@ -5,7 +5,7 @@ import ConfigParser Config = ConfigParser.ConfigParser() -Config.read('.ee-properties') +Config.read('.properties') MY_SERVICE_ACCOUNT = Config.get('Authentication', 'ServiceAccount') MY_PRIVATE_KEY_FILE = Config.get('Authentication', 'PrivateKeyFile')