Skip to content

Commit 63e828a

Browse files
authored
fix: include submodule in packages (#142)
1 parent 45ece77 commit 63e828a

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "thirdparty/bls-signatures"]
2-
path = thirdparty/bls-signatures
1+
[submodule "crypto/thirdparty/bls-signatures"]
2+
path = crypto/thirdparty/bls-signatures
33
url = https://github.com/ArkEcosystem/bls-signatures

crypto/identity/bls_private_key.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import os
55
from os.path import dirname
66

7-
sys.path.append(os.path.join(dirname(dirname(dirname(__file__))), 'thirdparty/bls-signatures/python-impl'))
7+
sys.path.append(os.path.join(dirname(dirname(__file__)), 'thirdparty/bls-signatures/python-impl'))
88

99
from schemes import BasicSchemeMPL
1010

crypto/identity/bls_public_key.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33
from os.path import dirname
44

5-
sys.path.append(os.path.join(dirname(dirname(dirname(__file__))), 'thirdparty/bls-signatures/python-impl'))
5+
sys.path.append(os.path.join(dirname(dirname(__file__)), 'thirdparty/bls-signatures/python-impl'))
66

77
from schemes import PrivateKey
88

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
author='Ark Ecosystem',
3636
author_email='info@ark.io',
3737
url='https://github.com/ArkEcosystem/python-crypto',
38-
packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
38+
packages=setuptools.find_packages(exclude=['tests', 'tests.*', 'crypto/thirdparty/bls-signatures'])
39+
+ ['crypto/thirdparty/bls-signatures/python-impl'],
3940
install_requires=requires,
4041
extras_require=extras_require,
4142
tests_require=tests_require,

0 commit comments

Comments
 (0)