Skip to content

Commit cf75ff7

Browse files
Merge pull request #4 from contentstack/dev
Dev
2 parents 226abef + 5368354 commit cf75ff7

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

.DS_Store

-6 KB
Binary file not shown.

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,7 @@ venv.bak/
107107

108108

109109
.idea/
110-
.DS_Store?
110+
# OS generated files #
111+
.DS_Store
112+
.DS_Store?
113+
.DS_Store

contentstack/config.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"""
2525
import logging
2626

27-
2827
logging.basicConfig(filename='cs.log', format='%(asctime)s - %(message)s', level=logging.INFO)
2928
logging.getLogger("Config")
3029

@@ -38,7 +37,7 @@ class Config(object):
3837
def __init__(self):
3938

4039
# It initialises the Config with the default endpoint
41-
self.default = dict(protocol="https", host="cdn.contentstack.io", port=443, version="v3")
40+
self.default = dict(protocol="https", region="us", host="cdn.contentstack.io", port=443, version="v3")
4241

4342
def host(self, host):
4443

setup.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,27 @@ def read(fname):
3232
setuptools.setup(
3333

3434
name='contentstack',
35+
3536
version=get_version(),
3637
py_modules=['contentstack'],
3738
scripts=['dokr'],
38-
# packages=find_packages(exclude=['tests']),
39+
3940
url='https://github.com/contentstack/contentstack-python.git',
41+
4042
license='MIT License',
4143
author='Shailesh Mishra',
4244
author_email='[email protected]',
43-
description='Create python-based applications and use the python SDK to fetch and deliver content from '
45+
46+
description='Create python-based applications and use the python '
47+
'SDK to fetch and deliver content from '
4448
'Contentstack. The SDK uses Content Delivery APIs. ',
49+
4550
install_requires=['requests', 'asset'],
4651
tests_require=['pytest'],
4752
long_description=read('README.md'),
48-
include_package_data=True,
4953

54+
include_package_data=True,
55+
test_suite='tests',
5056
classifiers=[
5157
"License :: OSI Approved :: MIT License",
5258
"Operating System :: OS Independent",
@@ -55,6 +61,4 @@ def read(fname):
5561
'Programming Language :: Python :: 3.6',
5662
'Programming Language :: Python :: 3.7',
5763
],
58-
test_suite='tests',
59-
6064
)

0 commit comments

Comments
 (0)