Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
481 commits
Select commit Hold shift + click to select a range
1c8c3ec
Removes print
thewhaleking Jan 14, 2025
e084e1b
fix unit tests
Jan 14, 2025
9294e23
fix `get_delegate_identities` + unit tests
Jan 14, 2025
ab08b35
remove print
Jan 14, 2025
9612fde
Fixes public key in certificate
thewhaleking Jan 14, 2025
f5bdf73
ruff
Jan 14, 2025
d9626a5
ruff + unused import
Jan 14, 2025
b0da431
Ruff
thewhaleking Jan 14, 2025
6d428df
Merge remote-tracking branch 'origin/async/thewhaleking/fix-types' in…
thewhaleking Jan 14, 2025
686729a
update deps
Jan 14, 2025
4e27c4e
Merge remote-tracking branch 'origin/async/thewhaleking/fix-types' in…
Jan 14, 2025
49a099e
Give warning when instantiating sync Subtensor from an already-runnin…
thewhaleking Jan 14, 2025
4f0b0e0
Merge pull request #2578 from opentensor/async/thewhaleking/warning
thewhaleking Jan 14, 2025
fa5bf76
Merge pull request #2577 from opentensor/async/thewhaleking/fix-types
thewhaleking Jan 14, 2025
4d329c9
Merge branch 'staging' into staging-pre-merge-new-async
Jan 15, 2025
f4992cd
Merge branch 'staging' into staging-pre-merge-new-async
Jan 17, 2025
149ac1c
tests fix
Jan 17, 2025
88b24d8
update deps
Jan 17, 2025
62a67e8
update deps
Jan 18, 2025
9d2d8ce
fix `get_neuron_certificate`
Jan 18, 2025
e75a0fc
remove licence, cut docstrings <= 120, ruff, optimize imports
Jan 23, 2025
e6c1f36
Merge pull request #2599 from opentensor/feat/roman/refactor
basfroman Jan 23, 2025
b3781bb
Uses a different asyncio loop caller.
thewhaleking Jan 15, 2025
1701d7c
Applies EventLoopManager broadly, adds factory functions for creating…
thewhaleking Jan 15, 2025
ba23119
Renaming
thewhaleking Jan 15, 2025
f79f77b
Pass the EventLoopManager to substrate
thewhaleking Jan 15, 2025
54591b9
Remove execute_coroutine import
thewhaleking Jan 16, 2025
8ce006e
Remove attr
thewhaleking Jan 16, 2025
6801270
[WIP] Check-in
thewhaleking Jan 18, 2025
82fa80d
All non-extrinsics methods ported.
thewhaleking Jan 18, 2025
72b0f7d
Test stuff
thewhaleking Jan 21, 2025
7489e68
Serving extrinsic
thewhaleking Jan 21, 2025
b79ffad
Staking extrinsics
thewhaleking Jan 21, 2025
b2dea07
Registration extrinsics
thewhaleking Jan 21, 2025
428211a
Weights extrinsics
thewhaleking Jan 21, 2025
333ba83
Sets nest_asyncio as default off.
thewhaleking Jan 21, 2025
1a4dedd
Import order
thewhaleking Jan 21, 2025
8c796b5
Root extrinsics
thewhaleking Jan 22, 2025
fa84405
Commit reveal extrinsic
thewhaleking Jan 22, 2025
4be4592
Transfer extrinsic
thewhaleking Jan 22, 2025
7db23fc
Unstaking extrinsic
thewhaleking Jan 22, 2025
04eda9a
Cleanup
thewhaleking Jan 22, 2025
8f1d639
Move SubtensorMixin to types file to avoid import conflicts.
thewhaleking Jan 22, 2025
4acf20b
imports
thewhaleking Jan 22, 2025
1781e8b
Remove ujson
thewhaleking Jan 22, 2025
c812324
Apply new json generally.
thewhaleking Jan 22, 2025
57cc58e
test: fix async unittests
zyzniewski-reef Jan 23, 2025
0e72ec0
Metagraph/tests
thewhaleking Jan 23, 2025
3b498bc
Call function
thewhaleking Jan 23, 2025
f3558ec
Raise correct error
thewhaleking Jan 23, 2025
7ec2df3
Metagraph rewrite
thewhaleking Jan 23, 2025
9a83347
Metagraph rewrite part 2
thewhaleking Jan 23, 2025
74c8d3e
Serving tests
thewhaleking Jan 23, 2025
a7bf8da
Merge remote-tracking branch 'origin/staging-pre-merge-new-async' int…
thewhaleking Jan 23, 2025
35f1a12
E2E tests passing.
thewhaleking Jan 23, 2025
2eab16c
Unit tests
thewhaleking Jan 23, 2025
4fb0586
Revert "update `bittensor/core/extrinsics/serving.py` unit tests"
zyzniewski-reef Jan 23, 2025
dcc6e5b
Revert "update `bittensor/core/extrinsics/transfer.py` unit tests"
zyzniewski-reef Jan 23, 2025
e4cde0f
Revert "update `bittensor/core/extrinsics/set_weights.py` unit tests"
zyzniewski-reef Jan 23, 2025
d593bcf
Revert "update `bittensor/core/extrinsics/root.py` unit tests"
zyzniewski-reef Jan 23, 2025
7f64dd1
Revert "typo"
zyzniewski-reef Jan 23, 2025
57e92a7
Revert "ruff"
zyzniewski-reef Jan 23, 2025
901ad69
Revert "update `commit_weights.py` unit test"
zyzniewski-reef Jan 23, 2025
f674a01
Revert "update `commit_reveal` unit test"
zyzniewski-reef Jan 23, 2025
ef50ff5
Revert "update `registration.py` unit test"
zyzniewski-reef Jan 23, 2025
b9e70f0
test: fix old (sync subtensor) unittests
zyzniewski-reef Jan 24, 2025
2b747bc
fix `tests/integration_tests/test_metagraph_integration.py`
Jan 24, 2025
f546cd8
add `metagraph[chain_getBlockHash]` result
Jan 24, 2025
ababac2
fix `tests/integration_tests/test_subtensor_integration.py`
Jan 24, 2025
e841b41
improve helper to use with sync integration tests
Jan 24, 2025
b0eba57
test: fix extrinsics unittests
zyzniewski-reef Jan 24, 2025
ed9466e
Merge remote-tracking branch 'origin/test/async_unittests' into test/…
Jan 24, 2025
af26e98
ruff
Jan 24, 2025
28b3fdc
improve integration subtensor test
Jan 24, 2025
64065d2
remove comment
Jan 24, 2025
155949b
Merge pull request #2600 from opentensor/test/async_unittests
zyzniewski-reef Jan 24, 2025
59fc0b5
Mypy
thewhaleking Jan 27, 2025
0b47389
Merge pull request #2579 from opentensor/async/thewhaleking/experimen…
thewhaleking Jan 27, 2025
62e0924
Type
thewhaleking Jan 27, 2025
b6a7e9b
Simplified typing.
thewhaleking Jan 28, 2025
839b2f2
Bumps async-substrate-interface to RC 5
ibraheem-abe Jan 28, 2025
f62c058
update settings.py
Jan 28, 2025
7ce69cb
update balance.py
Jan 28, 2025
af9e7a9
Updates chain_data
ibraheem-abe Jan 28, 2025
54fdb25
Updates balance class
ibraheem-abe Jan 28, 2025
6734673
update `bittensor.core.chain_data` sub-package
Jan 28, 2025
2f3da87
update async/subtensor modules -> added get_metagraph_info and get_al…
Jan 28, 2025
c6d56ad
fix test
Jan 28, 2025
3f73742
Merge branch 'staging-pre-merge-port-rao' into feat/roman/brigh-chain…
Jan 28, 2025
61f0ec5
update `bittensor/core/chain_data/__init__.py`
Jan 28, 2025
40b1dea
ruff
Jan 28, 2025
f13e97e
Add alias for Subtensor.commit
Jan 28, 2025
7c72b0a
move units from settings.py to balance.py
Jan 28, 2025
f4ad1e0
ruff
Jan 28, 2025
02dcbc0
Merge pull request #2606 from opentensor/feat/add/add-alias-for-subte…
basfroman Jan 28, 2025
ba6f2f9
update requirements
Jan 28, 2025
0837148
update requirements
Jan 28, 2025
a918df1
Merge pull request #2605 from opentensor/feat/roman/brigh-chain-metag…
basfroman Jan 28, 2025
a76d8bb
add `set_commitment` to async_subtensor.Async_subtensor
Jan 28, 2025
105eaba
Updates staking
ibraheem-abe Jan 28, 2025
2cb49cf
Unstaking updated
ibraheem-abe Jan 29, 2025
64ec5a6
Adds subnet, all_subnets calls and move, transfer, swap extrinsics
ibraheem-abe Jan 29, 2025
6aa15ce
rewrite config.py
Jan 29, 2025
1c636d3
add reqs -> dev
Jan 29, 2025
ef3548a
Add in `tao` and `rao` factory functions.
thewhaleking Jan 29, 2025
a008e36
Merge pull request #2607 from opentensor/feat/roman/config-cleanup
basfroman Jan 29, 2025
b3616e6
Supports async + minor tweaks
ibraheem-abe Jan 29, 2025
f601e7c
ruff + mypy
Jan 29, 2025
f068774
update metagraph.py
Jan 29, 2025
1ee0743
Adds missing async iterator
thewhaleking Jan 29, 2025
85eaa90
Adds explicit type for balance inputs
ibraheem-abe Jan 29, 2025
763c8af
Merge branch 'refs/heads/staging-pre-merge-port-rao' into feat/roman/…
Jan 29, 2025
001b46c
Merge pull request #2611 from opentensor/feat/roman/update-metagraph-…
basfroman Jan 29, 2025
c2bf3ca
Improves logging statements
ibraheem-abe Jan 30, 2025
ec32d9f
Updates balance conversion unit
ibraheem-abe Jan 30, 2025
45be077
fix for unit test + refactoring
Jan 30, 2025
f475d52
typos fix
Jan 30, 2025
87b96ec
add gather + improve `async subtensor.get_stake_for_coldkey` method
Jan 30, 2025
b861606
add block_hash to subtensor.get_stake_for_coldkey call
Jan 30, 2025
6a7e322
update `subtensor.query_module` return type
Jan 30, 2025
aef096c
async-substrate-interface==`1.0.0rc5` to `1.0.0rc6`
Jan 30, 2025
8385a85
fix types for mypy
Jan 30, 2025
1a4da29
Merge pull request #2612 from opentensor/feat/roman/fix-unit-tests+re…
basfroman Jan 30, 2025
d94c518
fix integration metagraph test
Jan 30, 2025
aa55c75
fix integration metagraph test 2
Jan 30, 2025
755fa78
Merge branch 'staging-pre-merge-new-async' into staging-pre-merge-por…
Jan 30, 2025
e50a697
Merge branch 'staging-pre-merge-port-rao' into feat/roman/last-integr…
Jan 30, 2025
fc20eee
fix unit test
Jan 30, 2025
6e76992
replace sync result to async one for test. bring back `async for`
basfroman Jan 30, 2025
6ad8913
remove commented code
basfroman Jan 30, 2025
ab673a3
Merge pull request #2613 from opentensor/feat/roman/last-integration-…
basfroman Jan 30, 2025
f5caea4
Cleanups, fixes, improvements
thewhaleking Jan 30, 2025
1497be4
Flake
thewhaleking Jan 30, 2025
4b291ad
Requirements
thewhaleking Jan 30, 2025
b4c7249
PR comments
thewhaleking Jan 30, 2025
f519384
Merge pull request #2614 from opentensor/async/thewhaleking/pre-merge…
thewhaleking Jan 30, 2025
9bd155b
Adds deprecation notice for balance amounts
ibraheem-abe Jan 30, 2025
9e342ed
Update to use console
ibraheem-abe Jan 30, 2025
7224ae6
Updates method name
ibraheem-abe Jan 30, 2025
c9b7403
Updates deprecation text
ibraheem-abe Jan 30, 2025
5408b68
Updates to use warnings
ibraheem-abe Jan 30, 2025
4159cd9
Merge pull request #2615 from opentensor/staging-pre-merge-deprecatio…
ibraheem-abe Jan 30, 2025
c72d8a4
Removes balance alias
ibraheem-abe Jan 30, 2025
3320cbe
Adds warnings + fixes types
ibraheem-abe Jan 30, 2025
4d7aa10
rename deprecated.py to easy_imports.py
Jan 30, 2025
e48f55d
improve type annotations in axon.py
Jan 30, 2025
9ccf1e1
Merge remote-tracking branch 'origin/staging-pre-merge-port-rao' into…
Jan 30, 2025
9d51779
Merge pull request #2610 from opentensor/staging-pre-merge-port-rao
ibraheem-abe Jan 30, 2025
ca45fd2
Revert "update `test_subtensor.py`"
zyzniewski-reef Jan 24, 2025
3500547
tests: sync_subtensor fixed
zyzniewski-reef Jan 30, 2025
cfe3882
Merge pull request #2617 from opentensor/tests/zyzniewski/sync_subtensor
zyzniewski-reef Jan 30, 2025
21b314d
improve `bittensor/utils/networking.py` logic
Jan 30, 2025
4b8a43e
improve `bittensor.utils.delegates_details.DelegatesDetails` logic
Jan 30, 2025
3f5a691
ruff
Jan 30, 2025
6d48826
remove comment
Jan 30, 2025
f315a6c
fix annotations
Jan 30, 2025
d4d3786
fix annotations
Jan 30, 2025
d5a66a0
remove unused class
Jan 30, 2025
cef96d0
fix annotation
Jan 30, 2025
4040a84
fix annotation + docstrings
Jan 30, 2025
ccb5154
use recommended import instead of dynamic
Jan 30, 2025
e7c15e5
fix annotation
Jan 30, 2025
3c3f862
fixes
Jan 30, 2025
f5483a8
Merge pull request #2619 from opentensor/feat/roman/improvement
basfroman Jan 31, 2025
cc950a7
feat: use bt_decode
zyzniewski-reef Jan 29, 2025
47489bd
fix: query_runtime_api params
zyzniewski-reef Jan 29, 2025
ec453cb
deps: async-substrate-interface
zyzniewski-reef Jan 29, 2025
04955f6
feat: migrate to async_substrate_interface using btdecode
zyzniewski-reef Jan 31, 2025
8c317a6
remove bittensor-cli
zyzniewski-reef Jan 31, 2025
56f804c
ruff formatting
zyzniewski-reef Jan 31, 2025
7342fec
remove bt-decode - it's part of async-substrate-interface now
zyzniewski-reef Jan 31, 2025
dc0ae8a
Refactor and integrate MetagraphInfo data handling
Jan 31, 2025
32acf67
mypy fixes
zyzniewski-reef Jan 31, 2025
6951533
Merge branch 'staging-pre-merge-new-async' into feat/zyzniewski/use_b…
basfroman Jan 31, 2025
82854d8
fix self usage in metagraph
Jan 31, 2025
351423f
add root fields to metagraph class
Feb 1, 2025
19f167a
improve MetagraphInfo
Feb 1, 2025
731e5a7
fix bug in subtensor
Feb 1, 2025
c53fcbb
fix integration metagraph test
Feb 1, 2025
70036f9
fix tests + ruff
Feb 1, 2025
82c4b2b
Cleanup
thewhaleking Feb 3, 2025
41fe909
Fix test I broke.
thewhaleking Feb 3, 2025
3bcdbb5
Deprecates `get_stake_for_coldkey_and_hotkey` method of `Subtensor` a…
thewhaleking Feb 3, 2025
f09a8f9
Makes `get_stake` require the netuid, adds a new method to retrieve s…
thewhaleking Feb 3, 2025
973b5c1
raise SubstrateRequestException on KeyError within InfoBase _from_dic…
zyzniewski-reef Feb 3, 2025
7fc81df
Update method
thewhaleking Feb 3, 2025
188ef12
Review changes implemented
ibraheem-abe Feb 3, 2025
72cf915
Ruff
ibraheem-abe Feb 3, 2025
d92105d
Type hints
thewhaleking Feb 3, 2025
691c8db
Tests
thewhaleking Feb 3, 2025
d70fa03
Merge pull request #2618 from opentensor/feat/zyzniewski/use_bt_decode
thewhaleking Feb 3, 2025
6c2459a
Merge remote-tracking branch 'origin/staging-pre-merge-new-async' int…
thewhaleking Feb 3, 2025
e8af5e8
Tests still broken
thewhaleking Feb 3, 2025
e86a6a6
add `MetagraphInfo.subnet_volume` field
Feb 4, 2025
6122c41
add `DynamicInfo.subnet_volume` field
Feb 4, 2025
3027c0a
Fix partialFee -> partial_fee
thewhaleking Feb 4, 2025
d4c2f66
Passing tests
thewhaleking Feb 4, 2025
17e9ccf
Fixes typing.
thewhaleking Feb 4, 2025
34300a7
Adds better Certificate decoding.
thewhaleking Feb 4, 2025
b913d3e
Typing
thewhaleking Feb 4, 2025
ebd6396
I hate mypy
thewhaleking Feb 4, 2025
7c13147
Python is a dynamically-typed language.
thewhaleking Feb 4, 2025
a1907d8
Mypy (yet again!)
thewhaleking Feb 4, 2025
491dcb1
Merge pull request #2622 from opentensor/async/thewhaleking/deprecate…
thewhaleking Feb 4, 2025
d0e16d0
Typos
thewhaleking Feb 4, 2025
42e3fd6
Fixes from manual testing
thewhaleking Feb 4, 2025
313ba3f
Missing `.decode()` for runtime call
thewhaleking Feb 4, 2025
39c4661
Ruff
thewhaleking Feb 4, 2025
17bef1b
type annotations, docstrings, logging, None results
Feb 5, 2025
875c446
new field, if statement
Feb 5, 2025
f879f75
new fields
Feb 5, 2025
5685b53
fix integration test
Feb 5, 2025
9d54a8d
Merge branch 'staging-pre-merge-new-async' into feat/roman/add-metagr…
Feb 5, 2025
0a41a75
update reqs
Feb 5, 2025
1076ce7
fix test
Feb 5, 2025
5f8c518
ruff
Feb 5, 2025
18a9fab
typo
Feb 5, 2025
b5893f2
Merge pull request #2624 from opentensor/feat/roman/add-metagraph-inf…
basfroman Feb 5, 2025
e272201
update based on `https://github.com/opentensor/subtensor/pull/1205`
Feb 5, 2025
6b8ac6a
Fixes methods and their associated tests (for AsyncSubtensor)
thewhaleking Feb 5, 2025
deacfd9
Subtensor methods updated (and tests)
thewhaleking Feb 5, 2025
b937ca5
Subtensor methods updated (and tests)
thewhaleking Feb 5, 2025
8338a37
Merge pull request #2628 from opentensor/async/thewhaleking/fix-subte…
thewhaleking Feb 5, 2025
5255e7c
update `Async/Subtensor.query_identity` argument and docstring
Feb 5, 2025
ae4b4eb
Updates get_subnet_burn_cost return type
thewhaleking Feb 5, 2025
ec1657f
Merge pull request #2629 from opentensor/async/thewhaleking/subnet-bu…
thewhaleking Feb 5, 2025
1247407
remove debug print
Feb 5, 2025
f646102
Adds registration subnet extrinsic
ibraheem-abe Feb 5, 2025
b9d43dc
Reverts lock-cost changes
ibraheem-abe Feb 5, 2025
e2d0df7
Updates docstrings
ibraheem-abe Feb 5, 2025
bfd1f00
Bumps btwallet
ibraheem-abe Feb 5, 2025
76f3f6c
Specifies a range of torch versions, rather than a pinned version.
thewhaleking Feb 5, 2025
93ba99b
Merge pull request #2632 from opentensor/async/thewhaleking/specify-t…
thewhaleking Feb 5, 2025
e09178d
Updates bittenso-wallet version
ibraheem-abe Feb 5, 2025
8ef40ec
Merge pull request #2630 from opentensor/adds-extrinsic/register-subnet
ibraheem-abe Feb 5, 2025
6eee582
Bumps btwallet 302
ibraheem-abe Feb 5, 2025
60f4b44
Use .value
thewhaleking Feb 5, 2025
5872b13
chain identity fix + tests
Feb 5, 2025
c235c9f
Arg order
thewhaleking Feb 5, 2025
d8478da
Balance used
thewhaleking Feb 5, 2025
c7a4fc1
update registry
Feb 5, 2025
f28f15e
update query_runtime_api method
Feb 5, 2025
02c6054
update SubnetIdentity
Feb 5, 2025
840b795
update tests
Feb 5, 2025
6146884
Updates query_identity
ibraheem-abe Feb 5, 2025
efdecbf
Merge pull request #2633 from opentensor/update-btwallet-302
ibraheem-abe Feb 5, 2025
5cb49e0
remove obsoleted tests
Feb 5, 2025
20f00d5
Merge pull request #2627 from opentensor/feat/roman/rpc-upgrades
ibraheem-abe Feb 5, 2025
fb76ebc
Bumps version + changelog, updates release script
ibraheem-abe Feb 5, 2025
8332ef6
Updates bittensor-cli version
ibraheem-abe Feb 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
fi

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
Expand All @@ -60,7 +60,7 @@ jobs:

steps:
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist
path: dist/
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 9.0.0rc1 /2025-02-05

## What's Changed
* Uses revamped Async Substrate Interface
* Compatibility with Rao changes added
* Completely revamped Async Subtensor introduced
* Numerous improvements, bug fixes, and deprecations

**Full Changelog**: https://github.com/opentensor/bittensor/compare/v8.5.1...v9.0.0rc1

## 8.5.1 /2024-12-16

## What's Changed
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.5.1
9.0.0rc1
28 changes: 1 addition & 27 deletions bittensor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,34 +1,8 @@
# The MIT License (MIT)
# Copyright © 2024 Opentensor Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the “Software”), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
# and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of
# the Software.
#
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
# THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.

import warnings

from .core.settings import __version__, version_split, DEFAULTS, DEFAULT_NETWORK
from .core.async_subtensor import AsyncSubtensor
from .utils.btlogging import logging
from .utils.deprecated import *


async def async_subtensor(network: str = DEFAULT_NETWORK) -> AsyncSubtensor:
"""
Creates an initialised AsyncSubtensor object.
"""
async with AsyncSubtensor(network=network) as subtensor_:
return subtensor_
from .utils.easy_imports import *


def __getattr__(name):
Expand Down
17 changes: 0 additions & 17 deletions bittensor/__main__.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
# The MIT License (MIT)
# Copyright © 2024 Opentensor Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the “Software”), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
# and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of
# the Software.
#
# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
# THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.

import os
import subprocess
import sys
Expand Down
Loading
Loading