diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6aa873b..3c934ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: pull_request: concurrency: - group: develop-pay-${{ github.event.number }} + group: develop-payments-${{ github.event.number }} cancel-in-progress: true jobs: @@ -73,10 +73,10 @@ jobs: - name: Install working-directory: /home/runner/frappe-bench run: | - bench get-app pay $GITHUB_WORKSPACE + bench get-app payments $GITHUB_WORKSPACE bench setup requirements --dev bench new-site --db-root-password root --admin-password admin test_site - bench --site test_site install-app pay + bench --site test_site install-app payments bench build env: CI: 'Yes' @@ -85,6 +85,6 @@ jobs: working-directory: /home/runner/frappe-bench run: | bench --site test_site set-config allow_tests true - bench --site test_site run-tests --app pay + bench --site test_site run-tests --app payments env: TYPE: server diff --git a/.gitignore b/.gitignore index ae092b9..945fa70 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,5 @@ *.egg-info *.swp tags -pay/docs/current +payments/docs/current node_modules/ \ No newline at end of file diff --git a/MANIFEST.in b/MANIFEST.in index 588f018..58f49a9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,15 +4,15 @@ include *.json include *.md include *.py include *.txt -recursive-include pay *.css -recursive-include pay *.csv -recursive-include pay *.html -recursive-include pay *.ico -recursive-include pay *.js -recursive-include pay *.json -recursive-include pay *.md -recursive-include pay *.png -recursive-include pay *.py -recursive-include pay *.svg -recursive-include pay *.txt -recursive-exclude pay *.pyc \ No newline at end of file +recursive-include payments *.css +recursive-include payments *.csv +recursive-include payments *.html +recursive-include payments *.ico +recursive-include payments *.js +recursive-include payments *.json +recursive-include payments *.md +recursive-include payments *.png +recursive-include payments *.py +recursive-include payments *.svg +recursive-include payments *.txt +recursive-exclude payments *.pyc \ No newline at end of file diff --git a/pay/templates/pages/__init__.py b/pay/templates/pages/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/pay/__init__.py b/payments/__init__.py similarity index 100% rename from pay/__init__.py rename to payments/__init__.py diff --git a/pay/config/__init__.py b/payments/config/__init__.py similarity index 100% rename from pay/config/__init__.py rename to payments/config/__init__.py diff --git a/pay/config/desktop.py b/payments/config/desktop.py similarity index 100% rename from pay/config/desktop.py rename to payments/config/desktop.py diff --git a/pay/config/docs.py b/payments/config/docs.py similarity index 77% rename from pay/config/docs.py rename to payments/config/docs.py index 4dbc380..81052aa 100644 --- a/pay/config/docs.py +++ b/payments/config/docs.py @@ -2,7 +2,7 @@ Configuration for docs """ -# source_link = "https://github.com/[org_name]/pay" +# source_link = "https://github.com/[org_name]/payments" # headline = "App that does everything" # sub_heading = "Yes, you got that right the first time, everything" diff --git a/pay/hooks.py b/payments/hooks.py similarity index 99% rename from pay/hooks.py rename to payments/hooks.py index 0f47b7e..daf05ec 100644 --- a/pay/hooks.py +++ b/payments/hooks.py @@ -1,6 +1,6 @@ from . import __version__ as app_version -app_name = "pay" +app_name = "payments" app_title = "Payments" app_publisher = "Frappe Technologies" app_description = "Payments app for frappe" diff --git a/pay/modules.txt b/payments/modules.txt similarity index 100% rename from pay/modules.txt rename to payments/modules.txt diff --git a/pay/patches.txt b/payments/patches.txt similarity index 100% rename from pay/patches.txt rename to payments/patches.txt diff --git a/pay/payments/__init__.py b/payments/payments/__init__.py similarity index 100% rename from pay/payments/__init__.py rename to payments/payments/__init__.py diff --git a/pay/public/.gitkeep b/payments/public/.gitkeep similarity index 100% rename from pay/public/.gitkeep rename to payments/public/.gitkeep diff --git a/pay/templates/__init__.py b/payments/templates/__init__.py similarity index 100% rename from pay/templates/__init__.py rename to payments/templates/__init__.py diff --git a/setup.py b/setup.py index e505657..1c54de5 100644 --- a/setup.py +++ b/setup.py @@ -4,10 +4,10 @@ with open("requirements.txt") as f: install_requires = f.read().strip().split("\n") # get version from __version__ variable in pay/__init__.py -from pay import __version__ as version +from payments import __version__ as version setup( - name="pay", + name="payments", version=version, description="Payments app for frappe", author="Frappe Technologies",