-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from wolfhoundgelert/master
Release 0.2.0 candidate
- Loading branch information
Showing
25 changed files
with
463 additions
and
9,558 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,3 +1,4 @@ | ||
cloudpickle~=2.2.1 | ||
pytest~=7.3.1 | ||
setuptools~=65.5.1 | ||
setuptools~=65.5.1 | ||
# dill~=0.3.6 |
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,42 +1,33 @@ | ||
from setuptools import setup | ||
import re | ||
|
||
|
||
with open('src/xman/__init__.py') as f: | ||
version_match = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE) | ||
if version_match: | ||
version = version_match.group(1) | ||
else: | ||
raise RuntimeError("Version not found!") | ||
|
||
|
||
with open('src/requirements.txt') as f: | ||
requirements = f.read().splitlines() | ||
|
||
|
||
setup( | ||
name='xman', | ||
version='0.1.0', | ||
name='xMan', | ||
version=version, | ||
packages=['xman'], | ||
package_dir={'': 'src'}, | ||
url='/~https://github.com/wolfhoundgelert/xman', | ||
license='BSD 3-clause', | ||
author='Andrei Polkanov', | ||
author_email='andrey.polkanoff@gmail.com', | ||
description='Experiment Manager (xman) [IN_PROGRESS]' | ||
description='xMan - Experiment Manager, python library for effective management and organising ' | ||
'experiments on thе Google Colab platform with sharing and running in parallel ' | ||
'across different Colab accounts.', | ||
install_requires=requirements, | ||
) | ||
|
||
# TODO /~https://github.com/pypi/support/issues/2738 | ||
|
||
|
||
|
||
# TODO >>>>> support setting from setup.py | ||
# import re | ||
# | ||
# def get_current_version(): | ||
# with open('xman/__init__.py', 'r') as f: | ||
# version_file = f.read() | ||
# version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M) | ||
# if version_match: | ||
# return version_match.group(1) | ||
# raise RuntimeError("Unable to find version string in __init__.py") | ||
# | ||
# def get_updated_version(): | ||
# current_version = get_current_version() | ||
# major, minor, patch = current_version.split('.') | ||
# patch = int(patch) + 1 | ||
# return f"{major}.{minor}.{patch}" | ||
# | ||
# from setuptools import setup | ||
# | ||
# setup( | ||
# name='xman', | ||
# version=get_updated_version(), | ||
# ... | ||
# ) | ||
# TODO /~https://github.com/pypi/support/issues/2738 |
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,2 @@ | ||
# dill~=0.3.6 | ||
cloudpickle~=2.2.1 |
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,4 +1,4 @@ | ||
__version__ = '0.1.0' # TODO support auto setting from setup.py | ||
__version__ = '0.2.0' | ||
|
||
|
||
from .api import XManAPI | ||
|
Oops, something went wrong.