first commit

This commit is contained in:
unknown 2024-03-12 18:40:49 -04:00
commit c836fa879c
11 changed files with 109 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.venv
dist

6
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"recommendations": [
"matangover.mypy",
"ms-python.python"
]
}

15
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: main.py",
"type": "debugpy",
"request": "launch",
"program": "./src/main.py",
"console": "integratedTerminal"
}
]
}

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"mypy.configFile": ""
}

20
README.md Normal file
View File

@ -0,0 +1,20 @@
Voxel Dev Workspace
## Setup
Install python, pip, venv, mypy, vscode, vscode python extensions
Create a venv
```
python -m venv .venv
```
Activate the venv
```
source ./.venv/Scripts/activate
```
Install the prereq's
```
pip install -r ./requirements.txt
```

16
mypy.ini Normal file
View File

@ -0,0 +1,16 @@
# Global options:
[mypy]
warn_return_any = True
warn_unused_configs = True
# Per-module options:
[mypy-mycode.foo.*]
disallow_untyped_defs = True
[mypy-mycode.bar]
warn_return_any = False
[mypy-somelibrary]
ignore_missing_imports = True

16
pyproject.toml Normal file
View File

@ -0,0 +1,16 @@
[build-system]
requires = ["setuptools>=68", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "voxeldev"
requires-python = ">=3.8"
dynamic = ["version"]
dependencies = [
# Add runtime dependencies here
"matplotlib",
"numpy"
]
# Enables the usage of setuptools_scm
[tool.setuptools_scm]

11
requirements.txt Normal file
View File

@ -0,0 +1,11 @@
contourpy==1.2.0
cycler==0.12.1
fonttools==4.49.0
kiwisolver==1.4.5
matplotlib==3.8.3
numpy==1.26.4
packaging==24.0
pillow==10.2.0
pyparsing==3.1.2
python-dateutil==2.9.0.post0
six==1.16.0

8
setup.cfg Normal file
View File

@ -0,0 +1,8 @@
[metadata]
name = voxeldev
version = 0.0.1
[options]
install_requires =
matplotlib
numpy; python_version<"3.10"

10
setup.py Normal file
View File

@ -0,0 +1,10 @@
from setuptools import setup
setup(
name='voxeldev',
version='0.0.1',
install_requires=[
'matplotlib',
'numpy'
],
)

2
src/main.py Normal file
View File

@ -0,0 +1,2 @@
print('hi :D')