easycoder 2__tar.gz → 3__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.

Potentially problematic release.


This version of easycoder might be problematic. Click here for more details.

@@ -1,10 +1,11 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: easycoder
3
- Version: 2
3
+ Version: 3
4
4
  Summary: EasyCoder for Python
5
5
  Author-email: Graham Trott <gtanyware@gmail.com>
6
6
  Description-Content-Type: text/markdown
7
7
  Classifier: License :: OSI Approved :: MIT License
8
+ Requires-Dist: pytz
8
9
  Project-URL: Home, https://github.com/easycoder
9
10
 
10
11
  # Introduction
@@ -9,4 +9,4 @@ from .ec_program import *
9
9
  from .ec_timestamp import *
10
10
  from .ec_value import *
11
11
 
12
- __version__ = "2"
12
+ __version__ = "3"
@@ -300,3 +300,9 @@ class Program:
300
300
  if v1 < v2:
301
301
  return -1
302
302
  return 0
303
+
304
+ def Main():
305
+ if (len(sys.argv) > 1):
306
+ Program(sys.argv[1:])
307
+ else:
308
+ print('Syntax: easycoder <scriptname> [plugins]')
@@ -9,6 +9,12 @@ readme = "README.md"
9
9
  license = {file = "LICENSE"}
10
10
  classifiers = ["License :: OSI Approved :: MIT License"]
11
11
  dynamic = ["version", "description"]
12
+ dependencies = [
13
+ "pytz"
14
+ ]
15
+
16
+ [project.scripts]
17
+ easycoder = "easycoder:Main"
12
18
 
13
19
  [project.urls]
14
20
  Home = "https://github.com/easycoder"
@@ -1,4 +1,6 @@
1
- script Benchmark
1
+ ! A test script
2
+
3
+ script Tests
2
4
 
3
5
  variable N
4
6
  variable M
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes