easycoder 1__tar.gz → 2__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,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: easycoder
3
- Version: 1
3
+ Version: 2
4
4
  Summary: EasyCoder for Python
5
5
  Author-email: Graham Trott <gtanyware@gmail.com>
6
6
  Description-Content-Type: text/markdown
@@ -15,7 +15,7 @@ The JavaScript version of EasyCoder, which provides a full set of graphical feat
15
15
  ## Quick Start
16
16
  1: Install EasyCoder in your Python environment:
17
17
  ```
18
- pip install easycoder@git+https://github.com/easycoder/easycoder.git
18
+ pip install easycoder
19
19
  ```
20
20
  2: Write a test script, 'hello.ecs':
21
21
  ```
@@ -6,7 +6,7 @@ The JavaScript version of EasyCoder, which provides a full set of graphical feat
6
6
  ## Quick Start
7
7
  1: Install EasyCoder in your Python environment:
8
8
  ```
9
- pip install easycoder@git+https://github.com/easycoder/easycoder.git
9
+ pip install easycoder
10
10
  ```
11
11
  2: Write a test script, 'hello.ecs':
12
12
  ```
@@ -9,4 +9,4 @@ from .ec_program import *
9
9
  from .ec_timestamp import *
10
10
  from .ec_value import *
11
11
 
12
- __version__ = "1"
12
+ __version__ = "2"
@@ -22,7 +22,7 @@ class Program:
22
22
  else:
23
23
  sys.path.append(args[0][0:idx])
24
24
  module=args[0][idx+1:]
25
- module = importlib.import_module(module)
25
+ module = importlib.import_module(module.replace('/','.').replace('.py',''))
26
26
  myClass = getattr(module, args[1])
27
27
  domains.append(myClass)
28
28
  else:
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
File without changes