Skip to content

Commit

Permalink
updated v0.5.7
Browse files Browse the repository at this point in the history
- Fixed arg readout if no argument is passed to CLI. [Issue 39](#39).
- Updated requirements to include DateTimeRange
- Fixed issue with GDAL~=3 requirement for fiona 1.8.11 release
  • Loading branch information
samapriya committed Nov 19, 2019
1 parent 68c2caa commit 33c06ad
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 5 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,11 @@ A simple setup would be

## Changelog

### v0.5.7
- Fixed arg readout if no argument is passed to CLI. [Issue 39](https://github.com/samapriya/porder/issues/39).
- Updated requirements to include DateTimeRange
- Fixed issue with GDAL~=3 requirement for fiona 1.8.11 release

### v0.5.6
- Merged [pull request 38](https://github.com/samapriya/porder/pull/38) to allow for nested delivery of zip files to cloud storage.
- Added an order state list tool.
Expand Down
Binary file removed dist/porder-0.5.6.tar.gz
Binary file not shown.
Binary file not shown.
Binary file added dist/porder-0.5.7.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion porder/__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.5.6'
__version__ = '0.5.7'
8 changes: 6 additions & 2 deletions porder/porder.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
try:
import gdal
except ImportError:
subprocess.call('pipwin install gdal==2.4.1', shell=True)
subprocess.call('pipwin install gdal', shell=True)
except Exception as e:
print(e)
try:
Expand Down Expand Up @@ -447,7 +447,11 @@ def main(args=None):
parser_multiproc.set_defaults(func=multiproc_from_parser)
args = parser.parse_args()

args.func(args)
try:
func = args.func
except AttributeError:
parser.error("too few arguments")
func(args)

if __name__ == '__main__':
main()
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Shapely>=1.6.4.post1
requests>=2.19.1
planet>=1.2.3
progressbar2>=3.38.0
DateTimeRange>=0.6.1
pySmartDL>=1.2.5
clipboard>=0.0.4
retrying>=1.3.3
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ def readme():
return f.read()
setuptools.setup(
name='porder',
version='0.5.6',
version='0.5.7',
packages=['porder'],
url='https://github.com/samapriya/porder',
package_data={'': ['bundles.json']},
install_requires=['requests>=2.21.1','planet>=1.3.0','retrying>=1.3.3',
'progressbar2>=3.38.0',
'visvalingamwyatt>=0.1.2',
'pendulum>=2.0.4',
'DateTimeRange>=0.6.1',
'pySmartDL==1.2.5;python_version<"3.4"',
'pySmartDL>=1.3.1;python_version>"3.4"',
'pipwin>= 0.4.5;platform_system=="Windows"',
'pipwin== 0.4.5;platform_system=="Windows"',
'pyproj>=1.9.5.1;platform_system!="Windows"',
'shapely>=1.6.4;platform_system!="Windows"',
'fiona>=1.8.6;platform_system!="Windows"',
Expand All @@ -48,6 +49,7 @@ def readme():
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: GIS',
),
Expand Down

0 comments on commit 33c06ad

Please sign in to comment.