q2rad 0.1.129__tar.gz → 0.1.131__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 q2rad might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: q2rad
3
- Version: 0.1.129
3
+ Version: 0.1.131
4
4
  Summary: RAD - database, GUI, reports
5
5
  Author: Andrei Puchko
6
6
  Author-email: andrei.puchko@gmx.de
@@ -24,12 +24,16 @@ Description-Content-Type: text/markdown
24
24
  q2report (https://pypi.org/project/q2report)
25
25
 
26
26
  ## [Read the docs](docs/index.md)
27
- ## Install & run
28
- **Python script - Linux, macOS**
27
+ ## Install & run - Python script
28
+ **Linux, macOS**
29
29
  ```bash
30
30
  curl https://raw.githubusercontent.com/AndreiPuchko/q2rad/main/install/get-q2rad.py | python3 -
31
31
  ```
32
-
32
+ **Windows**
33
+ ```bash
34
+ curl https://raw.githubusercontent.com/AndreiPuchko/q2rad/main/install/get-q2rad.py -o get-q2rad.py;py get-q2rad.py; del get-q2rad.py
35
+ ```
36
+ ## Install & run - Bash
33
37
  **Linux**
34
38
  ```bash
35
39
  sudo apt install python3-venv python3-pip -y &&\
@@ -7,12 +7,16 @@
7
7
  q2report (https://pypi.org/project/q2report)
8
8
 
9
9
  ## [Read the docs](docs/index.md)
10
- ## Install & run
11
- **Python script - Linux, macOS**
10
+ ## Install & run - Python script
11
+ **Linux, macOS**
12
12
  ```bash
13
13
  curl https://raw.githubusercontent.com/AndreiPuchko/q2rad/main/install/get-q2rad.py | python3 -
14
14
  ```
15
-
15
+ **Windows**
16
+ ```bash
17
+ curl https://raw.githubusercontent.com/AndreiPuchko/q2rad/main/install/get-q2rad.py -o get-q2rad.py;py get-q2rad.py; del get-q2rad.py
18
+ ```
19
+ ## Install & run - Bash
16
20
  **Linux**
17
21
  ```bash
18
22
  sudo apt install python3-venv python3-pip -y &&\
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "q2rad"
3
- version = "0.1.129"
3
+ version = "0.1.131"
4
4
  description = "RAD - database, GUI, reports"
5
5
  authors = ["Andrei Puchko <andrei.puchko@gmx.de>"]
6
6
  readme = "README.md"
@@ -445,7 +445,7 @@ class Q2RadApp(Q2App):
445
445
 
446
446
  w = Q2WaitShow(len(icons))
447
447
  errors = []
448
- q2Mess
448
+ # q2Mess
449
449
  for x in icons:
450
450
  if x == "":
451
451
  continue
@@ -550,13 +550,11 @@ class Q2RadApp(Q2App):
550
550
  mess = "Updates not found!<p>"
551
551
  q2Mess(mess)
552
552
  if upgraded:
553
- os.execv(sys.executable, [sys.executable, "-m", "q2rad"])
554
- # if "win32" in sys.platform:
555
- # os.execv(sys.executable, [sys.executable, "-m", "q2rad"])
556
- # else:
557
- # os.execv(sys.argv[0], sys.argv)
558
- # self.close()
559
- pass
553
+ if "win32" in sys.platform:
554
+ subprocess.Popen([sys.executable, "-m", "q2rad"], start_new_session=True)
555
+ else:
556
+ os.execv(sys.executable, [sys.executable, "-m", "q2rad"])
557
+ self.close()
560
558
 
561
559
  def pip_install(self, package, latest_version):
562
560
  q2Wait(
@@ -0,0 +1 @@
1
+ __version__ = "0.1.131"
@@ -1 +0,0 @@
1
- __version__ = "0.1.129"
q2rad-0.1.129/setup.py DELETED
@@ -1,37 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- from setuptools import setup
3
-
4
- packages = \
5
- ['q2rad']
6
-
7
- package_data = \
8
- {'': ['*']}
9
-
10
- install_requires = \
11
- ['q2db>=0.1.9,<0.2.0',
12
- 'q2gui>=0.1.36,<0.2.0',
13
- 'q2report>=0.1.16,<0.2.0',
14
- 'q2terminal>=0.1.10,<0.2.0']
15
-
16
- entry_points = \
17
- {'console_scripts': ['q2rad = q2rad.q2rad:main']}
18
-
19
- setup_kwargs = {
20
- 'name': 'q2rad',
21
- 'version': '0.1.129',
22
- 'description': 'RAD - database, GUI, reports',
23
- 'long_description': '# The RAD (rapid application development) system. \n\n**(code less, make more)** \n**Based on:** \n q2db (https://pypi.org/project/q2db) \n q2gui (https://pypi.org/project/q2gui) \n q2report (https://pypi.org/project/q2report) \n\n## [Read the docs](docs/index.md) \n## Install & run\n**Python script - Linux, macOS**\n```bash\ncurl https://raw.githubusercontent.com/AndreiPuchko/q2rad/main/install/get-q2rad.py | python3 -\n```\n\n**Linux**\n```bash\nsudo apt install python3-venv python3-pip -y &&\\\n mkdir -p q2rad && \\\n cd q2rad && \\\n python3 -m pip install --upgrade pip && \\\n python3 -m venv q2rad && \\\n source q2rad/bin/activate && \\\n python3 -m pip install --upgrade q2rad && \\\n q2rad\n```\n**Windows**\n```bash\nmkdir q2rad &&^\ncd q2rad &&^\npy -m pip install --upgrade pip &&^\npy -m venv q2rad &&^\ncall q2rad/scripts/activate &&^\npip install --upgrade q2rad &&^\nq2rad\n```\n**Mac**\n```bash\nmkdir -p q2rad && \\\n cd q2rad && \\\n pip3 install --upgrade pip && \\\n python3 -m venv q2rad && \\\n source q2rad/bin/activate && \\\n pip3 -m pip install --upgrade pip && \\\n pip3 -m pip install --upgrade q2rad && \\\n q2rad\n```\n**Docker**\n```bash\ncurl -s https://raw.githubusercontent.com/AndreiPuchko/q2rad/main/docker-x11/dockerfile > dockerfile && \\\n mkdir -p q2rad_storage/Desktop && \\\n chmod -R 777 q2rad_storage && \\\n sudo docker build -t q2rad . && \\\n sudo docker run -it \\\n -v /tmp/.X11-unix:/tmp/.X11-unix \\\n -v $(pwd)/q2rad_storage:/home/q2rad \\\n -e DISPLAY=$DISPLAY \\\n -u q2rad q2rad python3 -m q2rad\n\n```\n## Concept:\nApplication as a database\n```python\nForms: # may have main menu (menubar) definitions\n # may be linked to database table\n \n Lines: # form fields(type of data and type of form control) and \n # layout definitions\n # when form is linked to database - database columns definitions\n \n Actions: # applies for database linked forms\n # may be standard CRUD-action \n # or \n # run a script (run reports, forms and etc)\n # or\n # may have linked subforms (one-to-many)\n\nModules: # python scripts\n\nQueries: # query development and debugging tool\n\nReports: # multiformat (HTML, DOCX, XLSX) reporting tool \n```\n',
24
- 'author': 'Andrei Puchko',
25
- 'author_email': 'andrei.puchko@gmx.de',
26
- 'maintainer': 'None',
27
- 'maintainer_email': 'None',
28
- 'url': 'None',
29
- 'packages': packages,
30
- 'package_data': package_data,
31
- 'install_requires': install_requires,
32
- 'entry_points': entry_points,
33
- 'python_requires': '>=3.8.1',
34
- }
35
-
36
-
37
- setup(**setup_kwargs)
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
File without changes
File without changes
File without changes