Skip to content

Commit

Permalink
Update setup.py files (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
erlendvollset authored Jun 1, 2019
1 parent eb20caa commit 454e0af
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cognite/client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from cognite.client._cognite_client import CogniteClient

__version__ = "1.0.0a22"
__version__ = "1.0.0a23"
10 changes: 7 additions & 3 deletions setup-core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@

version = re.search('^__version__\s*=\s*"(.*)"', open("cognite/client/__init__.py").read(), re.M).group(1)

with open("README.md", "r") as fh:
long_description = fh.read()

setup(
name="cognite-sdk-core",
version=version,
description="Cognite API SDK for Python",
url="http://cognite-sdk-python.readthedocs.io/",
description="Client library for Cognite Data Fusion (CDF)",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://cognite-sdk-python.readthedocs-hosted.com",
download_url="https://github.com/cognitedata/cognite-sdk-python/archive/{}.tar.gz".format(version),
author="Erlend Vollset",
author_email="[email protected]",
install_requires=["requests>=2.21.0,<3.0.0"],
python_requires=">=3.5",
packages=["cognite." + p for p in find_packages(where="cognite")],
zip_safe=False,
include_package_data=True,
)
10 changes: 7 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@

version = re.search('^__version__\s*=\s*"(.*)"', open("cognite/client/__init__.py").read(), re.M).group(1)

with open("README.md", "r") as fh:
long_description = fh.read()

setup(
name="cognite-sdk",
version=version,
description="Cognite API SDK for Python",
url="http://cognite-sdk-python.readthedocs.io/",
description="Client library for Cognite Data Fusion (CDF)",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://cognite-sdk-python.readthedocs-hosted.com",
download_url="https://github.com/cognitedata/cognite-sdk-python/archive/{}.tar.gz".format(version),
author="Erlend Vollset",
author_email="[email protected]",
install_requires=["requests>=2.21.0,<3.0.0", "pandas"],
python_requires=">=3.5",
packages=["cognite." + p for p in find_packages(where="cognite")],
zip_safe=False,
include_package_data=True,
)

0 comments on commit 454e0af

Please sign in to comment.