last changes

This commit is contained in:
andrei 2022-05-19 10:55:58 +03:00
parent 033e9e3606
commit a98deec48e
129 changed files with 258 additions and 406 deletions

3
.idea/planetmint.iml generated
View File

@ -3,8 +3,9 @@
<component name="NewModuleRootManager"> <component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/planetmint_environment" /> <excludeFolder url="file://$MODULE_DIR$/planetmint_environment" />
<excludeFolder url="file://$MODULE_DIR$/planetmint_env" />
</content> </content>
<orderEntry type="jdk" jdkName="Python 3.9 (planetmint)" jdkType="Python SDK" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
</component> </component>
<component name="PyDocumentationSettings"> <component name="PyDocumentationSettings">

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from base58.__main__ import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from chardet.cli.chardetect import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from recommonmark.scripts import cm2html
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(cm2html())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from recommonmark.scripts import cm2latex
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(cm2latex())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from recommonmark.scripts import cm2man
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(cm2man())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from recommonmark.scripts import cm2pseudoxml
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(cm2pseudoxml())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from recommonmark.scripts import cm2xetex
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(cm2xetex())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from recommonmark.scripts import cm2xml
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(cm2xml())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from example.counter import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from setuptools.command.easy_install import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from flask.cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from gunicorn.app.wsgiapp import run
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(run())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from humanfriendly.cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from jsonschema.cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())

View File

@ -1,8 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from charset_normalizer.cli.normalizer import cli_detect
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(cli_detect())

View File

@ -1,12 +0,0 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'Planetmint','console_scripts','planetmint'
__requires__ = 'Planetmint'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('Planetmint', 'console_scripts', 'planetmint')()
)

View File

@ -1,146 +0,0 @@
/* -*- indent-tabs-mode: nil; tab-width: 4; -*- */
/* Greenlet object interface */
#ifndef Py_GREENLETOBJECT_H
#define Py_GREENLETOBJECT_H
#include <Python.h>
#ifdef __cplusplus
extern "C" {
#endif
/* This is deprecated and undocumented. It does not change. */
#define GREENLET_VERSION "1.0.0"
typedef struct _greenlet {
PyObject_HEAD
char* stack_start;
char* stack_stop;
char* stack_copy;
intptr_t stack_saved;
struct _greenlet* stack_prev;
struct _greenlet* parent;
PyObject* run_info;
struct _frame* top_frame;
int recursion_depth;
PyObject* weakreflist;
#if PY_VERSION_HEX >= 0x030700A3
_PyErr_StackItem* exc_info;
_PyErr_StackItem exc_state;
#else
PyObject* exc_type;
PyObject* exc_value;
PyObject* exc_traceback;
#endif
PyObject* dict;
#if PY_VERSION_HEX >= 0x030700A3
PyObject* context;
#endif
#if PY_VERSION_HEX >= 0x30A00B1
CFrame* cframe;
#endif
} PyGreenlet;
#define PyGreenlet_Check(op) PyObject_TypeCheck(op, &PyGreenlet_Type)
#define PyGreenlet_MAIN(op) (((PyGreenlet*)(op))->stack_stop == (char*)-1)
#define PyGreenlet_STARTED(op) (((PyGreenlet*)(op))->stack_stop != NULL)
#define PyGreenlet_ACTIVE(op) (((PyGreenlet*)(op))->stack_start != NULL)
#define PyGreenlet_GET_PARENT(op) (((PyGreenlet*)(op))->parent)
/* C API functions */
/* Total number of symbols that are exported */
#define PyGreenlet_API_pointers 8
#define PyGreenlet_Type_NUM 0
#define PyExc_GreenletError_NUM 1
#define PyExc_GreenletExit_NUM 2
#define PyGreenlet_New_NUM 3
#define PyGreenlet_GetCurrent_NUM 4
#define PyGreenlet_Throw_NUM 5
#define PyGreenlet_Switch_NUM 6
#define PyGreenlet_SetParent_NUM 7
#ifndef GREENLET_MODULE
/* This section is used by modules that uses the greenlet C API */
static void** _PyGreenlet_API = NULL;
# define PyGreenlet_Type \
(*(PyTypeObject*)_PyGreenlet_API[PyGreenlet_Type_NUM])
# define PyExc_GreenletError \
((PyObject*)_PyGreenlet_API[PyExc_GreenletError_NUM])
# define PyExc_GreenletExit \
((PyObject*)_PyGreenlet_API[PyExc_GreenletExit_NUM])
/*
* PyGreenlet_New(PyObject *args)
*
* greenlet.greenlet(run, parent=None)
*/
# define PyGreenlet_New \
(*(PyGreenlet * (*)(PyObject * run, PyGreenlet * parent)) \
_PyGreenlet_API[PyGreenlet_New_NUM])
/*
* PyGreenlet_GetCurrent(void)
*
* greenlet.getcurrent()
*/
# define PyGreenlet_GetCurrent \
(*(PyGreenlet * (*)(void)) _PyGreenlet_API[PyGreenlet_GetCurrent_NUM])
/*
* PyGreenlet_Throw(
* PyGreenlet *greenlet,
* PyObject *typ,
* PyObject *val,
* PyObject *tb)
*
* g.throw(...)
*/
# define PyGreenlet_Throw \
(*(PyObject * (*)(PyGreenlet * self, \
PyObject * typ, \
PyObject * val, \
PyObject * tb)) \
_PyGreenlet_API[PyGreenlet_Throw_NUM])
/*
* PyGreenlet_Switch(PyGreenlet *greenlet, PyObject *args)
*
* g.switch(*args, **kwargs)
*/
# define PyGreenlet_Switch \
(*(PyObject * \
(*)(PyGreenlet * greenlet, PyObject * args, PyObject * kwargs)) \
_PyGreenlet_API[PyGreenlet_Switch_NUM])
/*
* PyGreenlet_SetParent(PyObject *greenlet, PyObject *new_parent)
*
* g.parent = new_parent
*/
# define PyGreenlet_SetParent \
(*(int (*)(PyGreenlet * greenlet, PyGreenlet * nparent)) \
_PyGreenlet_API[PyGreenlet_SetParent_NUM])
/* Macro that imports greenlet and initializes C API */
/* NOTE: This has actually moved to ``greenlet._greenlet._C_API``, but we
keep the older definition to be sure older code that might have a copy of
the header still works. */
# define PyGreenlet_Import() \
{ \
_PyGreenlet_API = (void**)PyCapsule_Import("greenlet._C_API", 0); \
}
#endif /* GREENLET_MODULE */
#ifdef __cplusplus
}
#endif
#endif /* !Py_GREENLETOBJECT_H */

View File

@ -13,8 +13,7 @@ logger = logging.getLogger(__name__)
class TarantoolDB: class TarantoolDB:
def __init__(self, host: str = "localhost", port: int = 3303, user: str = None, password: str = None, def __init__(self, host: str = "localhost", port: int = 3303, user: str = None, password: str = None, **kwargs):
reset_database: bool = False, **kwargs):
try: try:
self.host = host self.host = host
self.port = port self.port = port
@ -26,11 +25,11 @@ class TarantoolDB:
self.db_connect = tarantool.connect(host=self.host, port=self.port) self.db_connect = tarantool.connect(host=self.host, port=self.port)
self.init_path = Config().get()["database"]["init_config"]["absolute_path"] self.init_path = Config().get()["database"]["init_config"]["absolute_path"]
self.drop_path = Config().get()["database"]["drop_config"]["absolute_path"] self.drop_path = Config().get()["database"]["drop_config"]["absolute_path"]
args_reset_db = kwargs.get("kwargs").get("reset_database") if "kwargs" in kwargs else None # args_reset_db = kwargs.get("kwargs").get("reset_database") if "kwargs" in kwargs else None
if reset_database or args_reset_db is True: # if reset_database or args_reset_db is True:
self.drop_database() # self.drop_database()
self.init_database() # self.init_database()
self._reconnect() # self._reconnect()
self.SPACE_NAMES = ["abci_chains", "assets", "blocks", "blocks_tx", self.SPACE_NAMES = ["abci_chains", "assets", "blocks", "blocks_tx",
"elections", "meta_data", "pre_commits", "validators", "elections", "meta_data", "pre_commits", "validators",
"transactions", "inputs", "outputs", "keys"] "transactions", "inputs", "outputs", "keys"]

View File

@ -285,6 +285,7 @@ def get_block(connection, block_id=[]):
space = connection.space("blocks") space = connection.space("blocks")
_block = space.select(block_id, index="block_search", limit=1) _block = space.select(block_id, index="block_search", limit=1)
_block = _block.data _block = _block.data
print(f"QUERY 1 :: {_block}")
if len(_block) == 0: if len(_block) == 0:
return [] return []
_block = _block[0] _block = _block[0]
@ -303,8 +304,7 @@ def get_block_with_transaction(connection, txid: str):
return [] return []
space = connection.space("blocks") space = connection.space("blocks")
_block = space.select(_all_blocks_tx[0][1], index="block_id_search") _block = space.select(_all_blocks_tx[0][1], index="block_id_search")
_block = _block.data[0] return [{"height": _height[1]} for _height in _block.data]
return {"app_hash": _block[0], "height": _block[1], "transactions": [_tx[0] for _tx in _all_blocks_tx]}
@register_query(TarantoolDB) @register_query(TarantoolDB)

View File

@ -35,6 +35,7 @@ from planetmint.validation import BaseValidationRules
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
class Planetmint(object): class Planetmint(object):
"""Planetmint API """Planetmint API
@ -73,7 +74,7 @@ class Planetmint(object):
else: else:
self.validation = BaseValidationRules self.validation = BaseValidationRules
# planetmint.backend.tarantool.connection_tarantool.connect(**Config().get()['database']) # planetmint.backend.tarantool.connection_tarantool.connect(**Config().get()['database'])
self.connection = connection if connection is not None else planetmint.backend.Connection(reset_database=True) self.connection = connection if connection is not None else planetmint.backend.Connection()
print(f"PLANETMINT self.connection {self.connection} !!!!") print(f"PLANETMINT self.connection {self.connection} !!!!")
def post_transaction(self, transaction, mode): def post_transaction(self, transaction, mode):

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# #
# This file is part of aafigure. https://github.com/aafigure/aafigure # This file is part of aafigure. https://github.com/aafigure/aafigure
# (C) 2007 Chris Liechti <cliechti@gmx.net> # (C) 2007 Chris Liechti <cliechti@gmx.net>

View File

@ -37,7 +37,7 @@ deactivate () {
# unset irrelevant variables # unset irrelevant variables
deactivate nondestructive deactivate nondestructive
VIRTUAL_ENV="/home/deffuls/work/planetmint/docker_environment" VIRTUAL_ENV="/home/deffuls/work/planetmint/planetmint_env"
export VIRTUAL_ENV export VIRTUAL_ENV
_OLD_VIRTUAL_PATH="$PATH" _OLD_VIRTUAL_PATH="$PATH"
@ -54,7 +54,7 @@ fi
if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT:-}" ] ; then
_OLD_VIRTUAL_PS1="${PS1:-}" _OLD_VIRTUAL_PS1="${PS1:-}"
PS1="(docker_environment) ${PS1:-}" PS1="(planetmint_env) ${PS1:-}"
export PS1 export PS1
fi fi

View File

@ -8,7 +8,7 @@ alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PA
# Unset irrelevant variables. # Unset irrelevant variables.
deactivate nondestructive deactivate nondestructive
setenv VIRTUAL_ENV "/home/deffuls/work/planetmint/docker_environment" setenv VIRTUAL_ENV "/home/deffuls/work/planetmint/planetmint_env"
set _OLD_VIRTUAL_PATH="$PATH" set _OLD_VIRTUAL_PATH="$PATH"
setenv PATH "$VIRTUAL_ENV/bin:$PATH" setenv PATH "$VIRTUAL_ENV/bin:$PATH"
@ -17,7 +17,7 @@ setenv PATH "$VIRTUAL_ENV/bin:$PATH"
set _OLD_VIRTUAL_PROMPT="$prompt" set _OLD_VIRTUAL_PROMPT="$prompt"
if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then if (! "$?VIRTUAL_ENV_DISABLE_PROMPT") then
set prompt = "(docker_environment) $prompt" set prompt = "(planetmint_env) $prompt"
endif endif
alias pydoc python -m pydoc alias pydoc python -m pydoc

View File

@ -29,7 +29,7 @@ end
# Unset irrelevant variables. # Unset irrelevant variables.
deactivate nondestructive deactivate nondestructive
set -gx VIRTUAL_ENV "/home/deffuls/work/planetmint/docker_environment" set -gx VIRTUAL_ENV "/home/deffuls/work/planetmint/planetmint_env"
set -gx _OLD_VIRTUAL_PATH $PATH set -gx _OLD_VIRTUAL_PATH $PATH
set -gx PATH "$VIRTUAL_ENV/bin" $PATH set -gx PATH "$VIRTUAL_ENV/bin" $PATH
@ -52,7 +52,7 @@ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
set -l old_status $status set -l old_status $status
# Output the venv prompt; color taken from the blue of the Python logo. # Output the venv prompt; color taken from the blue of the Python logo.
printf "%s%s%s" (set_color 4B8BBE) "(docker_environment) " (set_color normal) printf "%s%s%s" (set_color 4B8BBE) "(planetmint_env) " (set_color normal)
# Restore the return status of the previous command. # Restore the return status of the previous command.
echo "exit $old_status" | . echo "exit $old_status" | .

12
planetmint_env/bin/base58 Executable file
View File

@ -0,0 +1,12 @@
#!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'base58==2.1.0','console_scripts','base58'
__requires__ = 'base58==2.1.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('base58==2.1.0', 'console_scripts', 'base58')()
)

12
planetmint_env/bin/chardetect Executable file
View File

@ -0,0 +1,12 @@
#!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'chardet==3.0.4','console_scripts','chardetect'
__requires__ = 'chardet==3.0.4'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('chardet==3.0.4', 'console_scripts', 'chardetect')()
)

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

12
planetmint_env/bin/counter Executable file
View File

@ -0,0 +1,12 @@
#!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'abci==0.8.3','console_scripts','counter'
__requires__ = 'abci==0.8.3'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('abci==0.8.3', 'console_scripts', 'counter')()
)

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

12
planetmint_env/bin/easy_install Executable file
View File

@ -0,0 +1,12 @@
#!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==44.1.1','console_scripts','easy_install'
__requires__ = 'setuptools==44.1.1'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('setuptools==44.1.1', 'console_scripts', 'easy_install')()
)

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

12
planetmint_env/bin/flask Executable file
View File

@ -0,0 +1,12 @@
#!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'Flask==2.1.2','console_scripts','flask'
__requires__ = 'Flask==2.1.2'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('Flask==2.1.2', 'console_scripts', 'flask')()
)

12
planetmint_env/bin/gunicorn Executable file
View File

@ -0,0 +1,12 @@
#!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'gunicorn==20.1.0','console_scripts','gunicorn'
__requires__ = 'gunicorn==20.1.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('gunicorn==20.1.0', 'console_scripts', 'gunicorn')()
)

View File

@ -0,0 +1,12 @@
#!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'humanfriendly==10.0','console_scripts','humanfriendly'
__requires__ = 'humanfriendly==10.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('humanfriendly==10.0', 'console_scripts', 'humanfriendly')()
)

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'ipdb==0.13.9','console_scripts','ipdb3' # EASY-INSTALL-ENTRY-SCRIPT: 'ipdb==0.13.9','console_scripts','ipdb3'
__requires__ = 'ipdb==0.13.9' __requires__ = 'ipdb==0.13.9'
import re import re

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

12
planetmint_env/bin/jsonschema Executable file
View File

@ -0,0 +1,12 @@
#!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'jsonschema==3.2.0','console_scripts','jsonschema'
__requires__ = 'jsonschema==3.2.0'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('jsonschema==3.2.0', 'console_scripts', 'jsonschema')()
)

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

12
planetmint_env/bin/normalizer Executable file
View File

@ -0,0 +1,12 @@
#!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'charset-normalizer==2.0.12','console_scripts','normalizer'
__requires__ = 'charset-normalizer==2.0.12'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('charset-normalizer==2.0.12', 'console_scripts', 'normalizer')()
)

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

12
planetmint_env/bin/planetmint Executable file
View File

@ -0,0 +1,12 @@
#!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'Planetmint==0.9.2','console_scripts','planetmint'
__requires__ = 'Planetmint==0.9.2'
import re
import sys
from pkg_resources import load_entry_point
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(
load_entry_point('Planetmint==0.9.2', 'console_scripts', 'planetmint')()
)

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# $Id: rst2html.py 4564 2006-05-21 20:44:42Z wiemann $ # $Id: rst2html.py 4564 2006-05-21 20:44:42Z wiemann $
# Author: David Goodger <goodger@python.org> # Author: David Goodger <goodger@python.org>

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# $Id: rst2html4.py 7994 2016-12-10 17:41:45Z milde $ # $Id: rst2html4.py 7994 2016-12-10 17:41:45Z milde $
# Author: David Goodger <goodger@python.org> # Author: David Goodger <goodger@python.org>

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf8 -*- # -*- coding: utf8 -*-
# :Copyright: © 2015 Günter Milde. # :Copyright: © 2015 Günter Milde.
# :License: Released under the terms of the `2-Clause BSD license`_, in short: # :License: Released under the terms of the `2-Clause BSD license`_, in short:

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# $Id: rst2latex.py 5905 2009-04-16 12:04:49Z milde $ # $Id: rst2latex.py 5905 2009-04-16 12:04:49Z milde $
# Author: David Goodger <goodger@python.org> # Author: David Goodger <goodger@python.org>

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# Author: # Author:
# Contact: grubert@users.sf.net # Contact: grubert@users.sf.net

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# $Id: rst2odt.py 5839 2009-01-07 19:09:28Z dkuhlman $ # $Id: rst2odt.py 5839 2009-01-07 19:09:28Z dkuhlman $
# Author: Dave Kuhlman <dkuhlman@rexx.com> # Author: Dave Kuhlman <dkuhlman@rexx.com>

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# $Id: rst2odt_prepstyles.py 8346 2019-08-26 12:11:32Z milde $ # $Id: rst2odt_prepstyles.py 8346 2019-08-26 12:11:32Z milde $
# Author: Dave Kuhlman <dkuhlman@rexx.com> # Author: Dave Kuhlman <dkuhlman@rexx.com>

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# $Id: rst2pseudoxml.py 4564 2006-05-21 20:44:42Z wiemann $ # $Id: rst2pseudoxml.py 4564 2006-05-21 20:44:42Z wiemann $
# Author: David Goodger <goodger@python.org> # Author: David Goodger <goodger@python.org>

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# $Id: rst2s5.py 4564 2006-05-21 20:44:42Z wiemann $ # $Id: rst2s5.py 4564 2006-05-21 20:44:42Z wiemann $
# Author: Chris Liechti <cliechti@gmx.net> # Author: Chris Liechti <cliechti@gmx.net>

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# $Id: rst2xetex.py 7847 2015-03-17 17:30:47Z milde $ # $Id: rst2xetex.py 7847 2015-03-17 17:30:47Z milde $
# Author: Guenter Milde # Author: Guenter Milde

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# $Id: rst2xml.py 4564 2006-05-21 20:44:42Z wiemann $ # $Id: rst2xml.py 4564 2006-05-21 20:44:42Z wiemann $
# Author: David Goodger <goodger@python.org> # Author: David Goodger <goodger@python.org>

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# $Id: rstpep2html.py 4564 2006-05-21 20:44:42Z wiemann $ # $Id: rstpep2html.py 4564 2006-05-21 20:44:42Z wiemann $
# Author: David Goodger <goodger@python.org> # Author: David Goodger <goodger@python.org>

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

View File

@ -1,4 +1,4 @@
#!/home/deffuls/work/planetmint/docker_environment/bin/python3 #!/home/deffuls/work/planetmint/planetmint_env/bin/python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import re import re
import sys import sys

Some files were not shown because too many files have changed in this diff Show More