Skip to content

Commit

Permalink
Rename src package to module
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelboca committed Jan 15, 2025
1 parent 850749a commit a8c6b4b
Show file tree
Hide file tree
Showing 29 changed files with 11 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
venv
data/
__pycache__

build/
dist/

# Astro
node_modules/
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ install: _check_virtualenv

## Runs the application for development mode.
start: _check_virtualenv
python src/main.py
python -m ode.main

## Create/update all the translation files (.ts) for the supported languages: es, fr, pt
update-translations:
Expand Down
1 change: 1 addition & 0 deletions ode/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Required for PyInstaller to collect all assets
File renamed without changes.
1 change: 1 addition & 0 deletions ode/assets/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Required for PyInstaller to collect all assets
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions src/main.py → ode/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
# https://bugreports.qt.io/browse/PYSIDE-1914
from PySide6.QtWidgets import QFileSystemModel

from paths import Paths
from errors_widget import ErrorsWidget
from metadata_widget import FrictionlessResourceMetadataWidget
from data_widget import FrictionlessTableModel
from ai_widget import ChatGPTDialog
from ode.paths import Paths
from ode.errors_widget import ErrorsWidget
from ode.metadata_widget import FrictionlessResourceMetadataWidget
from ode.data_widget import FrictionlessTableModel
from ode.ai_widget import ChatGPTDialog


class MainWindow(QMainWindow):
Expand Down
2 changes: 1 addition & 1 deletion src/metadata_widget.py → ode/metadata_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from PySide6.QtWidgets import QTreeWidget, QTreeWidgetItem, QListWidget
from PySide6.QtWidgets import QFormLayout, QLineEdit, QComboBox

from paths import Paths
from ode.paths import Paths

_RESOURCE_METADATA = {
"Resource": ["Integrity", "Licenses", "Contributors", "Sources"],
Expand Down
File renamed without changes.

0 comments on commit a8c6b4b

Please sign in to comment.