Skip to content

Commit

Permalink
Merge pull request #43 from CityOfZion/fix-module-not-found
Browse files Browse the repository at this point in the history
Fix ModuleNotFoundError
  • Loading branch information
melanke authored Jun 15, 2020
2 parents 339b291 + 241da5f commit c950c33
Show file tree
Hide file tree
Showing 28 changed files with 38 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ workflows:
tags:
only: /^v.*/
branches:
ignore: /.*/
ignore: /.*/
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ The `neo3-boa` compiler is a tool for compiling Python files to the `.nef` and `
- Converts Functions

- Converts Local Variable Declarations and Assignments
```
foo: int = 42
bar = foo
```
```python
foo: int = 42
bar = foo
```
- Converts Number Arithmetic Operations (`+`, `-`, `*`, `//`, `%`)

- Converts Numeric Arithmetic Augmented assignment Operators (`+=`, `-=`, `*=`, `//=`, `%=`)
Expand Down
9 changes: 6 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ What it currently does...
- Converts Functions

- Converts Local Variable Declarations and Assignments
``foo: int = 42 bar = foo``

.. code:: python
foo: int = 42
bar = foo
- Converts Number Arithmetic Operations (``+``, ``-``, ``*``, ``//``,
``%``)

Expand Down Expand Up @@ -107,5 +112,3 @@ What it will do...

- Convert String Slicing (``x = 'example'[2:4:2]``,
``x = 'example'[::2]``)


1 change: 1 addition & 0 deletions boa3/analyser/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/compiler/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/exception/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/builtin/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/builtin/classmethod/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/builtin/decorator/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/builtin/method/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/operation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/operation/binary/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/operation/binary/arithmetic/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/operation/binary/logical/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/operation/binary/relational/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/operation/unary/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/type/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/type/primitive/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/type/sequence/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/model/type/sequence/mutable/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/neo/smart_contract/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/neo/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/neo/vm/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/neo/vm/opcode/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions boa3/neo/vm/type/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ bumpversion==0.6.0
coverage==4.5.4
pycodestyle==2.5.0
twine>=1.10.0
wheel>=0.30.0
wheel>=0.30.0
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
#package_data={
# package_data={
# 'sample': ['package_data.dat'],
#},
# },

# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
#data_files=[('my_data', ['data/data_file'])],
# data_files=[('my_data', ['data/data_file'])],

# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
Expand Down

0 comments on commit c950c33

Please sign in to comment.