Skip to content

Commit

Permalink
PPIP READY!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
fire17 committed Feb 14, 2020
1 parent dbffd01 commit d4a530a
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 6 deletions.
18 changes: 15 additions & 3 deletions GlobalData/Universe.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,35 @@
# Universe.py

# from Globals import *
from GlobalData import GlobalData as G
#from GlobalData import *
from Globals import *

import os, time

def Get(gd, x):
return gd.GetX(x)

def GetCurrentDir():
## first file in current dir (with full path)
file = os.path.join(os.getcwd(), os.listdir(os.getcwd())[0])
return os.path.dirname(file) ## directory of file

class obj(dict):
def __init__(self):
self.exist = True
self.birth = time.time()
self.dict = {"Eyes":3, "exist":self.exist, "birth":self.birth}
self.gd = GD
self.root =
self.root = GetCurrentDir()


def


o = obj()
print()
print()
print()
print()
print(getAllAtr(o))
print()
print(getDict(o))
Expand Down
1 change: 1 addition & 0 deletions GlobalData/X/GlobalData/gateway.gdc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
�K.
Binary file added GlobalData/X/GlobalData/gateway.gdd
Binary file not shown.
Binary file added GlobalData/__pycache__/GlobalData.cpython-38.pyc
Binary file not shown.
Binary file added GlobalData/__pycache__/Globals.cpython-38.pyc
Binary file not shown.
Binary file added GlobalData/__pycache__/Universe.cpython-38.pyc
Binary file not shown.
Binary file added GlobalData/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions X/GlobalData/gateway.gdc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
�K.
Binary file added X/GlobalData/gateway.gdd
Binary file not shown.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
setup(
name = 'GlobalData', # How you named your package folder (MyLib)
packages = ['GlobalData'], # Chose the same as "name"
version = '0.1', # Start with a small number and increase it with every change you make
version = '0.2', # Start with a small number and increase it with every change you make
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
description = 'Easy multiprocessing with GlobalData', # Give a short description about your library
author = 'Tami Bar', # Type in your name
author_email = '[email protected]', # Type in your E-Mail
url = 'https://github.com/fire17/GlobalData', # Provide either the link to your github or to your website
download_url = 'https://github.com/fire17/GlobalData/archive/v_01.tar.gz', # I explain this later on
download_url = 'https://github.com/fire17/GlobalData/archive/v_02.tar.gz', # I explain this later on
keywords = ['multiprocessing', 'global', 'dynamic', "data", "communitcation", "subscribe", "events"], # Keywords that define your package best
install_requires=[ # I get to this in a second
'glob3',
Expand All @@ -26,6 +26,6 @@
'Programming Language :: Python :: 3', #Specify which pyhton versions that you want to support
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.6', ####CHECK
],
)

0 comments on commit d4a530a

Please sign in to comment.