tojscript 1.0.3__tar.gz → 1.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tojscript-1.0.3 → tojscript-1.0.4}/PKG-INFO +1 -1
- {tojscript-1.0.3 → tojscript-1.0.4}/setup.py +2 -2
- {tojscript-1.0.3 → tojscript-1.0.4}/tojscript/__init__.py +4 -2
- {tojscript-1.0.3 → tojscript-1.0.4}/tojscript.egg-info/PKG-INFO +1 -1
- {tojscript-1.0.3 → tojscript-1.0.4}/setup.cfg +0 -0
- {tojscript-1.0.3 → tojscript-1.0.4}/tojscript.egg-info/SOURCES.txt +0 -0
- {tojscript-1.0.3 → tojscript-1.0.4}/tojscript.egg-info/dependency_links.txt +0 -0
- {tojscript-1.0.3 → tojscript-1.0.4}/tojscript.egg-info/entry_points.txt +0 -0
- {tojscript-1.0.3 → tojscript-1.0.4}/tojscript.egg-info/requires.txt +0 -0
- {tojscript-1.0.3 → tojscript-1.0.4}/tojscript.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
2
|
setup(
|
|
3
3
|
name="tojscript",
|
|
4
|
-
version="1.0.
|
|
4
|
+
version="1.0.4",
|
|
5
5
|
packages=find_packages(),
|
|
6
6
|
install_requires=["colorama"],
|
|
7
7
|
entry_points={
|
|
@@ -9,4 +9,4 @@ setup(
|
|
|
9
9
|
"toj=tojscript:main",
|
|
10
10
|
],
|
|
11
11
|
},
|
|
12
|
-
)
|
|
12
|
+
)
|
|
@@ -172,8 +172,10 @@ sys.meta_path.insert(0, TojImportHook())
|
|
|
172
172
|
|
|
173
173
|
def main():
|
|
174
174
|
if len(sys.argv) > 1:
|
|
175
|
-
|
|
176
|
-
|
|
175
|
+
if sys.argv[1] == "--version":
|
|
176
|
+
print("TojScript 1.0.3")
|
|
177
|
+
return
|
|
178
|
+
run(sys.argv[1])
|
|
177
179
|
else:
|
|
178
180
|
run("main.toj")
|
|
179
181
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|