initial commit

This commit is contained in:
thomasabishop 2024-10-13 19:00:48 +01:00
commit befcf0bf99
12 changed files with 69 additions and 0 deletions

7
.gitignore vendored Normal file
View file

@ -0,0 +1,7 @@
venv/
__pycache__/
*.pyc
*.pyo
*.pyd
.pytest_cache/
data/*.db

6
README.md Normal file
View file

@ -0,0 +1,6 @@
## Running app in local development
```
source venv/bin/activate
neuron-zk-generator
```

16
setup.py Normal file
View file

@ -0,0 +1,16 @@
from setuptools import setup, find_packages
setup(
name="neuron-zk-generator",
version="0.1",
packages=find_packages(where="src"),
package_dir={"": "src"},
install_requires=[
# List your project dependencies here
],
entry_points={
"console_scripts": [
"neuron-zk-generator=app:main",
],
},
)

0
src/__init__.py Normal file
View file

13
src/app.py Normal file
View file

@ -0,0 +1,13 @@
from constants import SOURCE
from constants import TARGET
from copy_zettels import copy_zettels
def main():
print("this is the app")
print(SOURCE)
copy_zettels()
if __name__ == "__main__":
main()

2
src/constants.py Normal file
View file

@ -0,0 +1,2 @@
SOURCE = "/home/thomas/repos/eolas"
TARGET = "/home/thomas/repos/output"

11
src/copy_zettels.py Normal file
View file

@ -0,0 +1,11 @@
import os
import shutil
from constants import SOURCE, TARGET
from pathlib import Path
def copy_zettels():
if os.path.isdir(TARGET):
shutil.rmtree(TARGET)
# p.mkdir()

View file

@ -0,0 +1,3 @@
Metadata-Version: 2.1
Name: neuron-zk-generator
Version: 0.1

View file

@ -0,0 +1,7 @@
README.md
setup.py
src/neuron_zk_generator.egg-info/PKG-INFO
src/neuron_zk_generator.egg-info/SOURCES.txt
src/neuron_zk_generator.egg-info/dependency_links.txt
src/neuron_zk_generator.egg-info/entry_points.txt
src/neuron_zk_generator.egg-info/top_level.txt

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,2 @@
[console_scripts]
neuron-zk-generator = app:main

View file

@ -0,0 +1 @@