Skip to content

Commit

Permalink
chore: expose missing modules
Browse files Browse the repository at this point in the history
  • Loading branch information
petscheit committed Oct 29, 2024
1 parent d46e890 commit 8fad4d7
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from setuptools import setup, find_packages
from setuptools import setup
from setuptools.command.install import install
from pathlib import Path


# Read version from version.py
version = {}
with open("version.py") as fp:
Expand All @@ -28,19 +27,34 @@ def run(self):
long_description=long_description,
long_description_content_type="text/markdown",
version=version["__version__"],
packages=(
find_packages(where="src") +
find_packages(where="tools")
),
packages=[
"tools.py",
"tools.py.providers",
"tools.py.providers.evm",
"contract_bootloader",
"contract_bootloader.contract_class",
"contract_bootloader.dryrun_syscall_memorizer_handler",
"contract_bootloader.dryrun_syscall_memorizer_handler.evm",
"contract_bootloader.memorizer",
"contract_bootloader.memorizer.evm",
"contract_bootloader.syscall_memorizer_handler",
"contract_bootloader.syscall_memorizer_handler.evm",
],
install_requires=requirements,
package_dir={
"tools": "tools",
"tools.py": "tools/py",
"contract_bootloader": "src/contract_bootloader",
},
zip_safe=False,
package_data={
"tools": ["**/*.py"],
"contract_bootloader": ["*.cairo", "*/*.cairo", "*/*.py", "**/*.py", "memorizer/**/*.py"],
"tools.py": ["**/*.py"],
"contract_bootloader": [
"*.cairo",
"*/*.cairo",
"*/*.py",
"**/*.py",
"**/*.cairo",
],
},
cmdclass={"install": PostInstallCommand},
)

0 comments on commit 8fad4d7

Please sign in to comment.