Skip to content

Commit

Permalink
Clean up more
Browse files Browse the repository at this point in the history
  • Loading branch information
wyatt-howe committed Nov 4, 2023
1 parent ba87d3c commit 8a46f6f
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 13 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion pack.py → packaging/pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def load_library(path_name):
'mclbn256.tmpl',
]

# chdir(abspath('..'))

#
# Find the specific platform tags on PyPI for the project you are working with.
#
Expand Down Expand Up @@ -66,7 +68,7 @@ def load_library(path_name):

#data = {'hex://'+path.relpath(binaries[0], start=src_dir): bs.hex() for i, bs, filepath in enumerate(zip(bss, binary_path))}
data = {'BINARY_HEX_'+str(i+1): bs.hex() for i, bs in enumerate(bss)}#{'BINARY_HEX': bs.hex()}
template = open(IMPORT_PATCHES[0], encoding='utf-8').read()
template = open(path.join('packaging', IMPORT_PATCHES[0]), encoding='utf-8').read()
patched_code = pystache.render(template, data)

def findReplace(directory, find, replace, filePattern):
Expand Down
File renamed without changes.
5 changes: 0 additions & 5 deletions pyproject.toml

This file was deleted.

7 changes: 0 additions & 7 deletions setup.py

This file was deleted.

0 comments on commit 8a46f6f

Please sign in to comment.