Skip to content

Commit

Permalink
updated v0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
samapriya committed Jan 10, 2019
1 parent 9950db6 commit 7950afa
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 5 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,11 @@ optional arguments:
```
# Changelog

### v0.1.4

- OS based geckdriver path fix
- General improvements

### v0.1.3

- fixed issues with extra arguments
Expand Down
2 changes: 1 addition & 1 deletion geeup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__author__ = 'Samapriya Roy'
__email__ = '[email protected]'
__version__ = '0.1.3'
__version__ = '0.1.4'
5 changes: 4 additions & 1 deletion geeup/batch_uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,10 @@ def __get_google_auth_session(username, password):
authorization_url="https://code.earthengine.google.com"
uname=str(username)
passw=str(password)
driver = Firefox(executable_path=os.path.join(lp,"geckodriver.exe"),firefox_options=options)
if os.name=="nt":
driver = Firefox(executable_path=os.path.join(lp,"geckodriver.exe"),firefox_options=options)
elif os.name=="posix":
driver = Firefox(executable_path=os.path.join(lp,"geckodriver"),firefox_options=options)
driver.get(authorization_url)
time.sleep(5)
username = driver.find_element_by_xpath('//*[@id="identifierId"]')
Expand Down
5 changes: 4 additions & 1 deletion geeup/metadata_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,10 @@ def __get_google_auth_session(username, password):
authorization_url="https://code.earthengine.google.com"
uname=str(username)
passw=str(password)
driver = Firefox(executable_path=os.path.join(lp,"geckodriver.exe"),firefox_options=options)
if os.name=="nt":
driver = Firefox(executable_path=os.path.join(lp,"geckodriver.exe"),firefox_options=options)
elif os.name=="posix":
driver = Firefox(executable_path=os.path.join(lp,"geckodriver"),firefox_options=options)
driver.get(authorization_url)
time.sleep(5)
username = driver.find_element_by_xpath('//*[@id="identifierId"]')
Expand Down
5 changes: 4 additions & 1 deletion geeup/sel_tuploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ def seltabup(dirc,uname,destination):
authorization_url="https://code.earthengine.google.com"
uname=str(username)
passw=str(password)
driver = Firefox(executable_path=os.path.join(lp,"geckodriver.exe"),firefox_options=options)
if os.name=="nt":
driver = Firefox(executable_path=os.path.join(lp,"geckodriver.exe"),firefox_options=options)
elif os.name=="posix":
driver = Firefox(executable_path=os.path.join(lp,"geckodriver"),firefox_options=options)
driver.get(authorization_url)
time.sleep(5)
username = driver.find_element_by_xpath('//*[@id="identifierId"]')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def readme():
return f.read()
setuptools.setup(
name='geeup',
version='0.1.3',
version='0.1.4',
packages=find_packages(),
url='https://github.com/samapriya/geeup',
install_requires=['earthengine_api >= 0.1.87','requests >= 2.10.0','retrying >= 1.3.3','beautifulsoup4 >= 4.5.1','pandas>=0.23.0','psutil>=5.4.5',
Expand Down

0 comments on commit 7950afa

Please sign in to comment.