summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--MANIFEST.in1
-rw-r--r--pyproject.toml3
-rw-r--r--setup.py13
-rw-r--r--txtgameengine/base_shaders/fragment.glsl (renamed from base_shaders/fragment.glsl)0
-rw-r--r--txtgameengine/base_shaders/vertex.glsl (renamed from base_shaders/vertex.glsl)0
6 files changed, 21 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e5fe787..51d97f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,7 @@ venv/
__pycache__/
.vscode/
.idea/
+
+*.egg-info
+build/
+dist/
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..e23b1aa
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1 @@
+recursive-include txtgameengine/base_shaders * \ No newline at end of file
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..a9d29f6
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["setuptools", "wheels"]
+build-backend = "setuptools.build_meta"
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..69d0641
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,13 @@
+from setuptools import setup, find_packages
+import os
+def o(fname):
+ return open(os.path.join(os.path.dirname(__file__), fname))
+setup(
+ name='txtgameengine',
+ version='0.0.0',
+ author='Rom',
+ packages=find_packages(),
+ install_requires=o('requirements.txt').readlines(),
+ zip_safe=False,
+ include_package_data=True,
+)
diff --git a/base_shaders/fragment.glsl b/txtgameengine/base_shaders/fragment.glsl
index a9dfa6f..a9dfa6f 100644
--- a/base_shaders/fragment.glsl
+++ b/txtgameengine/base_shaders/fragment.glsl
diff --git a/base_shaders/vertex.glsl b/txtgameengine/base_shaders/vertex.glsl
index 1e02417..1e02417 100644
--- a/base_shaders/vertex.glsl
+++ b/txtgameengine/base_shaders/vertex.glsl