-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Adds bumpversion to requirements. * Replace with bumpversion.cfg * Bump version: 0.0.0 → 0.0.1 * Move to setup.py. * Bump version: 0.0.1 → 0.0.2 * Add to bumpversion config. * Bump version: 0.0.2 → 0.0.3 * Fix black and mypy.
- Loading branch information
Showing
5 changed files
with
84 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[bumpversion] | ||
current_version = 0.0.3 | ||
commit = True | ||
tag = True | ||
|
||
[bumpversion:file:setup.py] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ __pycache__ | |
.coverage | ||
.vscode/ | ||
setup-local.sh | ||
|
||
.eggs/ | ||
util.egg-info/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1 @@ | ||
coverage | ||
ccxt==3.0.84 | ||
eciespy | ||
eth-brownie | ||
enforce_typing | ||
gql | ||
mypy | ||
numpy | ||
pandas | ||
pylint | ||
pytest | ||
requests | ||
scipy | ||
types-requests | ||
-e .[dev] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright 2023 Ocean Protocol Foundation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
"""The setup script.""" | ||
|
||
# Copyright 2018 Ocean Protocol Foundation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
from setuptools import find_packages, setup | ||
|
||
# Installed by pip install ocean-provider | ||
# or pip install -e . | ||
install_requirements = [ | ||
"coverage", | ||
"ccxt==3.0.84", | ||
"eciespy", | ||
"eth-brownie", | ||
"enforce_typing", | ||
"gql", | ||
"mypy", | ||
"numpy", | ||
"pandas", | ||
"pylint", | ||
"pytest", | ||
"requests", | ||
"scipy", | ||
"types-requests", | ||
"bumpversion", | ||
] | ||
|
||
# Required to run setup.py: | ||
setup_requirements = ["pytest-runner"] | ||
|
||
setup( | ||
author="oceanprotocol", | ||
author_email="[email protected]", | ||
classifiers=[ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3.8", | ||
], | ||
description="DF PY lib.", | ||
install_requires=install_requirements, | ||
license="Apache Software License 2.0", | ||
include_package_data=True, | ||
packages=find_packages( | ||
include=[ | ||
"util", | ||
"build", | ||
"contracts", | ||
"data", | ||
"interfaces", | ||
"reports", | ||
"scripts", | ||
] | ||
), | ||
setup_requires=setup_requirements, | ||
test_suite="tests", | ||
url="https://github.com/oceanprotocol/provider-py", | ||
# fmt: off | ||
# bumpversion needs single quotes | ||
version='0.0.3', | ||
# fmt: on | ||
zip_safe=False, | ||
) |