Skip to content

Commit ee02323

Browse files
committed
Merge branch 'development' into 'master'
File structure changes See merge request open-platform/sdk/python!5
2 parents 0190f36 + 2b81d7f commit ee02323

File tree

6 files changed

+14
-3
lines changed

6 files changed

+14
-3
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [1.0.1] - 2018-08-01
8+
### Changed
9+
- Update the README to match the new way of importing the package
10+
11+
### Fixed
12+
- Fix importing the main class
13+
14+
715
## [1.0.0] - 2018-07-31
816
### Added
917
- Get all scaffolds API

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To access the library import an OpenPlatform class and call an instance with the
2929

3030

3131
```python
32-
from open_api import OpenPlatform
32+
from openplatform import OpenPlatform
3333

3434
# Access API via instance of OpenPlatform class
3535
op = OpenPlatform(open_key)

openplatform/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from openplatform.open_api import OpenPlatform
2+
3+
__all__ = [OpenPlatform]
File renamed without changes.

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232

3333
packages=find_packages(),
3434

35-
setup_requires=['requests'],
35+
install_requires=['requests'],
3636

3737
zip_safe=False, )

tests/test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import requests
66

7-
from open_api import OpenPlatform
7+
from openplatform.open_api import OpenPlatform
88
from openplatform.utils import validate_address, merge_headers
99
from tests.const import *
1010

0 commit comments

Comments
 (0)