From 366878027aafe7f42dbcab8eed55e76259dcecd7 Mon Sep 17 00:00:00 2001 From: Yoan Le Clanche Date: Tue, 11 May 2021 13:29:38 +0200 Subject: [PATCH] Repackage whole app --- MANIFEST.in | 9 +++ README => README.rst | 9 +++ django_pdfannotator.egg-info/PKG-INFO | 39 +++++++++++ django_pdfannotator.egg-info/SOURCES.txt | 68 +++++++++++++++++++ .../dependency_links.txt | 1 + django_pdfannotator.egg-info/requires.txt | 1 + django_pdfannotator.egg-info/top_level.txt | 1 + .gitignore => pdfannotator/.gitignore | 0 __init__.py => pdfannotator/__init__.py | 0 admin.py => pdfannotator/admin.py | 0 forms.py => pdfannotator/forms.py | 0 .../migrations}/0001_initial.py | 0 .../0002_auto__add_annotationcomment.py | 0 ...ent_created__add_field_annotation_order.py | 0 ...nt_uuid__add_index_annotation_uuid__add.py | 0 .../migrations}/__init__.py | 0 models.py => pdfannotator/models.py | 0 .../package-lock.json | 0 package.json => pdfannotator/package.json | 0 {src => pdfannotator/src}/PDFJSAnnotate.js | 0 {src => pdfannotator/src}/UI/comments.js | 0 {src => pdfannotator/src}/UI/edit.js | 0 {src => pdfannotator/src}/UI/event.js | 0 {src => pdfannotator/src}/UI/index.js | 0 {src => pdfannotator/src}/UI/page.js | 0 {src => pdfannotator/src}/UI/pen.js | 0 {src => pdfannotator/src}/UI/point.js | 0 {src => pdfannotator/src}/UI/rect.js | 0 {src => pdfannotator/src}/UI/text.js | 0 {src => pdfannotator/src}/UI/utils.js | 0 .../src}/a11y/createScreenReaderOnly.js | 0 .../src}/a11y/initEventHandlers.js | 0 .../src}/a11y/insertElementWithinChildren.js | 0 .../src}/a11y/insertElementWithinElement.js | 0 .../src}/a11y/insertScreenReaderComment.js | 0 .../src}/a11y/insertScreenReaderHint.js | 0 .../src}/a11y/renderScreenReaderComments.js | 0 .../src}/a11y/renderScreenReaderHints.js | 0 .../src}/adapter/CRFPAStoreAdapter.js | 0 .../src}/adapter/LocalStoreAdapter.js | 0 .../src}/adapter/StoreAdapter.js | 0 {src => pdfannotator/src}/index.js | 0 {src => pdfannotator/src}/initColorPicker.js | 0 {src => pdfannotator/src}/initFile.js | 0 .../src}/render/appendChild.js | 0 {src => pdfannotator/src}/render/index.js | 0 .../src}/render/renderLine.js | 0 .../src}/render/renderPath.js | 0 .../src}/render/renderPoint.js | 0 .../src}/render/renderRect.js | 0 .../src}/render/renderText.js | 0 .../src}/utils/abstractFunction.js | 0 .../src}/utils/normalizeColor.js | 0 .../src}/utils/setAttributes.js | 0 {src => pdfannotator/src}/utils/uuid.js | 0 .../static}/pdfannotator/pdf-annotate.min.js | 0 .../pdfannotator/pdf-annotate.min.js.map | 0 .../static}/pdfannotator/pdf.js | 0 .../static}/pdfannotator/pdf.js.map | 0 .../static}/pdfannotator/pdf.worker.js | 0 .../static}/pdfannotator/pdf2svg.js | 0 .../static}/pdfannotator/pdf_viewer.css | 0 .../static}/pdfannotator/pdf_viewer.js | 0 .../static}/pdfannotator/toolbar.css | 0 .../templates}/pdfannotator/pdfannotator.html | 0 .../templatetags}/__init__.py | 0 .../templatetags}/pdfannotator.py | 0 urls.py => pdfannotator/urls.py | 0 views.py => pdfannotator/views.py | 0 .../webpack.config.js | 0 webpack.web.js => pdfannotator/webpack.web.js | 0 yarn.lock => pdfannotator/yarn.lock | 0 setup.cfg | 29 ++++++++ setup.py | 29 +------- 74 files changed, 159 insertions(+), 27 deletions(-) create mode 100644 MANIFEST.in rename README => README.rst (54%) create mode 100644 django_pdfannotator.egg-info/PKG-INFO create mode 100644 django_pdfannotator.egg-info/SOURCES.txt create mode 100644 django_pdfannotator.egg-info/dependency_links.txt create mode 100644 django_pdfannotator.egg-info/requires.txt create mode 100644 django_pdfannotator.egg-info/top_level.txt rename .gitignore => pdfannotator/.gitignore (100%) rename __init__.py => pdfannotator/__init__.py (100%) rename admin.py => pdfannotator/admin.py (100%) rename forms.py => pdfannotator/forms.py (100%) rename {migrations => pdfannotator/migrations}/0001_initial.py (100%) rename {migrations => pdfannotator/migrations}/0002_auto__add_annotationcomment.py (100%) rename {migrations => pdfannotator/migrations}/0003_auto__add_field_annotationcomment_created__add_field_annotation_order.py (100%) rename {migrations => pdfannotator/migrations}/0004_auto__add_index_annotationcomment_uuid__add_index_annotation_uuid__add.py (100%) rename {migrations => pdfannotator/migrations}/__init__.py (100%) rename models.py => pdfannotator/models.py (100%) rename package-lock.json => pdfannotator/package-lock.json (100%) rename package.json => pdfannotator/package.json (100%) rename {src => pdfannotator/src}/PDFJSAnnotate.js (100%) rename {src => pdfannotator/src}/UI/comments.js (100%) rename {src => pdfannotator/src}/UI/edit.js (100%) rename {src => pdfannotator/src}/UI/event.js (100%) rename {src => pdfannotator/src}/UI/index.js (100%) rename {src => pdfannotator/src}/UI/page.js (100%) rename {src => pdfannotator/src}/UI/pen.js (100%) rename {src => pdfannotator/src}/UI/point.js (100%) rename {src => pdfannotator/src}/UI/rect.js (100%) rename {src => pdfannotator/src}/UI/text.js (100%) rename {src => pdfannotator/src}/UI/utils.js (100%) rename {src => pdfannotator/src}/a11y/createScreenReaderOnly.js (100%) rename {src => pdfannotator/src}/a11y/initEventHandlers.js (100%) rename {src => pdfannotator/src}/a11y/insertElementWithinChildren.js (100%) rename {src => pdfannotator/src}/a11y/insertElementWithinElement.js (100%) rename {src => pdfannotator/src}/a11y/insertScreenReaderComment.js (100%) rename {src => pdfannotator/src}/a11y/insertScreenReaderHint.js (100%) rename {src => pdfannotator/src}/a11y/renderScreenReaderComments.js (100%) rename {src => pdfannotator/src}/a11y/renderScreenReaderHints.js (100%) rename {src => pdfannotator/src}/adapter/CRFPAStoreAdapter.js (100%) rename {src => pdfannotator/src}/adapter/LocalStoreAdapter.js (100%) rename {src => pdfannotator/src}/adapter/StoreAdapter.js (100%) rename {src => pdfannotator/src}/index.js (100%) rename {src => pdfannotator/src}/initColorPicker.js (100%) rename {src => pdfannotator/src}/initFile.js (100%) rename {src => pdfannotator/src}/render/appendChild.js (100%) rename {src => pdfannotator/src}/render/index.js (100%) rename {src => pdfannotator/src}/render/renderLine.js (100%) rename {src => pdfannotator/src}/render/renderPath.js (100%) rename {src => pdfannotator/src}/render/renderPoint.js (100%) rename {src => pdfannotator/src}/render/renderRect.js (100%) rename {src => pdfannotator/src}/render/renderText.js (100%) rename {src => pdfannotator/src}/utils/abstractFunction.js (100%) rename {src => pdfannotator/src}/utils/normalizeColor.js (100%) rename {src => pdfannotator/src}/utils/setAttributes.js (100%) rename {src => pdfannotator/src}/utils/uuid.js (100%) rename {static => pdfannotator/static}/pdfannotator/pdf-annotate.min.js (100%) rename {static => pdfannotator/static}/pdfannotator/pdf-annotate.min.js.map (100%) rename {static => pdfannotator/static}/pdfannotator/pdf.js (100%) rename {static => pdfannotator/static}/pdfannotator/pdf.js.map (100%) rename {static => pdfannotator/static}/pdfannotator/pdf.worker.js (100%) rename {static => pdfannotator/static}/pdfannotator/pdf2svg.js (100%) rename {static => pdfannotator/static}/pdfannotator/pdf_viewer.css (100%) rename {static => pdfannotator/static}/pdfannotator/pdf_viewer.js (100%) rename {static => pdfannotator/static}/pdfannotator/toolbar.css (100%) rename {templates => pdfannotator/templates}/pdfannotator/pdfannotator.html (100%) rename {templatetags => pdfannotator/templatetags}/__init__.py (100%) rename {templatetags => pdfannotator/templatetags}/pdfannotator.py (100%) rename urls.py => pdfannotator/urls.py (100%) rename views.py => pdfannotator/views.py (100%) rename webpack.config.js => pdfannotator/webpack.config.js (100%) rename webpack.web.js => pdfannotator/webpack.web.js (100%) rename yarn.lock => pdfannotator/yarn.lock (100%) create mode 100644 setup.cfg diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..4ac1a19 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,9 @@ +include README.rst +include package-lock.json +include package.json +include webpack.config.js +include webpack.web.js +include yarn.lock +recursive-include pdfannotator/src * +recursive-include pdfannotator/static * +recursive-include pdfannotator/templates * diff --git a/README b/README.rst similarity index 54% rename from README rename to README.rst index 6361e15..2924ac7 100644 --- a/README +++ b/README.rst @@ -1,3 +1,12 @@ +===== +PDFAnnotator +===== + +PDFAnnotator is a Django app to offer an UI to annotate PDF files + +Development +----------- + Developpement : > yarn start Il faut aussi décommenter la ligne yarn start + Il faut aussi décommenter la ligne yarn build + + +Platform: UNKNOWN +Classifier: Environment :: Web Environment +Classifier: Framework :: Django +Classifier: Framework :: Django :: 1.4 +Classifier: Intended Audience :: Developers +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Topic :: Internet :: WWW/HTTP +Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content diff --git a/django_pdfannotator.egg-info/SOURCES.txt b/django_pdfannotator.egg-info/SOURCES.txt new file mode 100644 index 0000000..8d93b5a --- /dev/null +++ b/django_pdfannotator.egg-info/SOURCES.txt @@ -0,0 +1,68 @@ +MANIFEST.in +README.rst +setup.cfg +setup.py +django_pdfannotator.egg-info/PKG-INFO +django_pdfannotator.egg-info/SOURCES.txt +django_pdfannotator.egg-info/dependency_links.txt +django_pdfannotator.egg-info/requires.txt +django_pdfannotator.egg-info/top_level.txt +pdfannotator/__init__.py +pdfannotator/admin.py +pdfannotator/forms.py +pdfannotator/models.py +pdfannotator/urls.py +pdfannotator/views.py +pdfannotator/migrations/0001_initial.py +pdfannotator/migrations/0002_auto__add_annotationcomment.py +pdfannotator/migrations/0003_auto__add_field_annotationcomment_created__add_field_annotation_order.py +pdfannotator/migrations/0004_auto__add_index_annotationcomment_uuid__add_index_annotation_uuid__add.py +pdfannotator/migrations/__init__.py +pdfannotator/src/PDFJSAnnotate.js +pdfannotator/src/index.js +pdfannotator/src/initColorPicker.js +pdfannotator/src/initFile.js +pdfannotator/src/UI/comments.js +pdfannotator/src/UI/edit.js +pdfannotator/src/UI/event.js +pdfannotator/src/UI/index.js +pdfannotator/src/UI/page.js +pdfannotator/src/UI/pen.js +pdfannotator/src/UI/point.js +pdfannotator/src/UI/rect.js +pdfannotator/src/UI/text.js +pdfannotator/src/UI/utils.js +pdfannotator/src/a11y/createScreenReaderOnly.js +pdfannotator/src/a11y/initEventHandlers.js +pdfannotator/src/a11y/insertElementWithinChildren.js +pdfannotator/src/a11y/insertElementWithinElement.js +pdfannotator/src/a11y/insertScreenReaderComment.js +pdfannotator/src/a11y/insertScreenReaderHint.js +pdfannotator/src/a11y/renderScreenReaderComments.js +pdfannotator/src/a11y/renderScreenReaderHints.js +pdfannotator/src/adapter/CRFPAStoreAdapter.js +pdfannotator/src/adapter/LocalStoreAdapter.js +pdfannotator/src/adapter/StoreAdapter.js +pdfannotator/src/render/appendChild.js +pdfannotator/src/render/index.js +pdfannotator/src/render/renderLine.js +pdfannotator/src/render/renderPath.js +pdfannotator/src/render/renderPoint.js +pdfannotator/src/render/renderRect.js +pdfannotator/src/render/renderText.js +pdfannotator/src/utils/abstractFunction.js +pdfannotator/src/utils/normalizeColor.js +pdfannotator/src/utils/setAttributes.js +pdfannotator/src/utils/uuid.js +pdfannotator/static/pdfannotator/pdf-annotate.min.js +pdfannotator/static/pdfannotator/pdf-annotate.min.js.map +pdfannotator/static/pdfannotator/pdf.js +pdfannotator/static/pdfannotator/pdf.js.map +pdfannotator/static/pdfannotator/pdf.worker.js +pdfannotator/static/pdfannotator/pdf2svg.js +pdfannotator/static/pdfannotator/pdf_viewer.css +pdfannotator/static/pdfannotator/pdf_viewer.js +pdfannotator/static/pdfannotator/toolbar.css +pdfannotator/templates/pdfannotator/pdfannotator.html +pdfannotator/templatetags/__init__.py +pdfannotator/templatetags/pdfannotator.py \ No newline at end of file diff --git a/django_pdfannotator.egg-info/dependency_links.txt b/django_pdfannotator.egg-info/dependency_links.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/django_pdfannotator.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/django_pdfannotator.egg-info/requires.txt b/django_pdfannotator.egg-info/requires.txt new file mode 100644 index 0000000..fbad02c --- /dev/null +++ b/django_pdfannotator.egg-info/requires.txt @@ -0,0 +1 @@ +Django >= 1.4 # Replace "X.Y" as appropriate diff --git a/django_pdfannotator.egg-info/top_level.txt b/django_pdfannotator.egg-info/top_level.txt new file mode 100644 index 0000000..6f59e5c --- /dev/null +++ b/django_pdfannotator.egg-info/top_level.txt @@ -0,0 +1 @@ +pdfannotator diff --git a/.gitignore b/pdfannotator/.gitignore similarity index 100% rename from .gitignore rename to pdfannotator/.gitignore diff --git a/__init__.py b/pdfannotator/__init__.py similarity index 100% rename from __init__.py rename to pdfannotator/__init__.py diff --git a/admin.py b/pdfannotator/admin.py similarity index 100% rename from admin.py rename to pdfannotator/admin.py diff --git a/forms.py b/pdfannotator/forms.py similarity index 100% rename from forms.py rename to pdfannotator/forms.py diff --git a/migrations/0001_initial.py b/pdfannotator/migrations/0001_initial.py similarity index 100% rename from migrations/0001_initial.py rename to pdfannotator/migrations/0001_initial.py diff --git a/migrations/0002_auto__add_annotationcomment.py b/pdfannotator/migrations/0002_auto__add_annotationcomment.py similarity index 100% rename from migrations/0002_auto__add_annotationcomment.py rename to pdfannotator/migrations/0002_auto__add_annotationcomment.py diff --git a/migrations/0003_auto__add_field_annotationcomment_created__add_field_annotation_order.py b/pdfannotator/migrations/0003_auto__add_field_annotationcomment_created__add_field_annotation_order.py similarity index 100% rename from migrations/0003_auto__add_field_annotationcomment_created__add_field_annotation_order.py rename to pdfannotator/migrations/0003_auto__add_field_annotationcomment_created__add_field_annotation_order.py diff --git a/migrations/0004_auto__add_index_annotationcomment_uuid__add_index_annotation_uuid__add.py b/pdfannotator/migrations/0004_auto__add_index_annotationcomment_uuid__add_index_annotation_uuid__add.py similarity index 100% rename from migrations/0004_auto__add_index_annotationcomment_uuid__add_index_annotation_uuid__add.py rename to pdfannotator/migrations/0004_auto__add_index_annotationcomment_uuid__add_index_annotation_uuid__add.py diff --git a/migrations/__init__.py b/pdfannotator/migrations/__init__.py similarity index 100% rename from migrations/__init__.py rename to pdfannotator/migrations/__init__.py diff --git a/models.py b/pdfannotator/models.py similarity index 100% rename from models.py rename to pdfannotator/models.py diff --git a/package-lock.json b/pdfannotator/package-lock.json similarity index 100% rename from package-lock.json rename to pdfannotator/package-lock.json diff --git a/package.json b/pdfannotator/package.json similarity index 100% rename from package.json rename to pdfannotator/package.json diff --git a/src/PDFJSAnnotate.js b/pdfannotator/src/PDFJSAnnotate.js similarity index 100% rename from src/PDFJSAnnotate.js rename to pdfannotator/src/PDFJSAnnotate.js diff --git a/src/UI/comments.js b/pdfannotator/src/UI/comments.js similarity index 100% rename from src/UI/comments.js rename to pdfannotator/src/UI/comments.js diff --git a/src/UI/edit.js b/pdfannotator/src/UI/edit.js similarity index 100% rename from src/UI/edit.js rename to pdfannotator/src/UI/edit.js diff --git a/src/UI/event.js b/pdfannotator/src/UI/event.js similarity index 100% rename from src/UI/event.js rename to pdfannotator/src/UI/event.js diff --git a/src/UI/index.js b/pdfannotator/src/UI/index.js similarity index 100% rename from src/UI/index.js rename to pdfannotator/src/UI/index.js diff --git a/src/UI/page.js b/pdfannotator/src/UI/page.js similarity index 100% rename from src/UI/page.js rename to pdfannotator/src/UI/page.js diff --git a/src/UI/pen.js b/pdfannotator/src/UI/pen.js similarity index 100% rename from src/UI/pen.js rename to pdfannotator/src/UI/pen.js diff --git a/src/UI/point.js b/pdfannotator/src/UI/point.js similarity index 100% rename from src/UI/point.js rename to pdfannotator/src/UI/point.js diff --git a/src/UI/rect.js b/pdfannotator/src/UI/rect.js similarity index 100% rename from src/UI/rect.js rename to pdfannotator/src/UI/rect.js diff --git a/src/UI/text.js b/pdfannotator/src/UI/text.js similarity index 100% rename from src/UI/text.js rename to pdfannotator/src/UI/text.js diff --git a/src/UI/utils.js b/pdfannotator/src/UI/utils.js similarity index 100% rename from src/UI/utils.js rename to pdfannotator/src/UI/utils.js diff --git a/src/a11y/createScreenReaderOnly.js b/pdfannotator/src/a11y/createScreenReaderOnly.js similarity index 100% rename from src/a11y/createScreenReaderOnly.js rename to pdfannotator/src/a11y/createScreenReaderOnly.js diff --git a/src/a11y/initEventHandlers.js b/pdfannotator/src/a11y/initEventHandlers.js similarity index 100% rename from src/a11y/initEventHandlers.js rename to pdfannotator/src/a11y/initEventHandlers.js diff --git a/src/a11y/insertElementWithinChildren.js b/pdfannotator/src/a11y/insertElementWithinChildren.js similarity index 100% rename from src/a11y/insertElementWithinChildren.js rename to pdfannotator/src/a11y/insertElementWithinChildren.js diff --git a/src/a11y/insertElementWithinElement.js b/pdfannotator/src/a11y/insertElementWithinElement.js similarity index 100% rename from src/a11y/insertElementWithinElement.js rename to pdfannotator/src/a11y/insertElementWithinElement.js diff --git a/src/a11y/insertScreenReaderComment.js b/pdfannotator/src/a11y/insertScreenReaderComment.js similarity index 100% rename from src/a11y/insertScreenReaderComment.js rename to pdfannotator/src/a11y/insertScreenReaderComment.js diff --git a/src/a11y/insertScreenReaderHint.js b/pdfannotator/src/a11y/insertScreenReaderHint.js similarity index 100% rename from src/a11y/insertScreenReaderHint.js rename to pdfannotator/src/a11y/insertScreenReaderHint.js diff --git a/src/a11y/renderScreenReaderComments.js b/pdfannotator/src/a11y/renderScreenReaderComments.js similarity index 100% rename from src/a11y/renderScreenReaderComments.js rename to pdfannotator/src/a11y/renderScreenReaderComments.js diff --git a/src/a11y/renderScreenReaderHints.js b/pdfannotator/src/a11y/renderScreenReaderHints.js similarity index 100% rename from src/a11y/renderScreenReaderHints.js rename to pdfannotator/src/a11y/renderScreenReaderHints.js diff --git a/src/adapter/CRFPAStoreAdapter.js b/pdfannotator/src/adapter/CRFPAStoreAdapter.js similarity index 100% rename from src/adapter/CRFPAStoreAdapter.js rename to pdfannotator/src/adapter/CRFPAStoreAdapter.js diff --git a/src/adapter/LocalStoreAdapter.js b/pdfannotator/src/adapter/LocalStoreAdapter.js similarity index 100% rename from src/adapter/LocalStoreAdapter.js rename to pdfannotator/src/adapter/LocalStoreAdapter.js diff --git a/src/adapter/StoreAdapter.js b/pdfannotator/src/adapter/StoreAdapter.js similarity index 100% rename from src/adapter/StoreAdapter.js rename to pdfannotator/src/adapter/StoreAdapter.js diff --git a/src/index.js b/pdfannotator/src/index.js similarity index 100% rename from src/index.js rename to pdfannotator/src/index.js diff --git a/src/initColorPicker.js b/pdfannotator/src/initColorPicker.js similarity index 100% rename from src/initColorPicker.js rename to pdfannotator/src/initColorPicker.js diff --git a/src/initFile.js b/pdfannotator/src/initFile.js similarity index 100% rename from src/initFile.js rename to pdfannotator/src/initFile.js diff --git a/src/render/appendChild.js b/pdfannotator/src/render/appendChild.js similarity index 100% rename from src/render/appendChild.js rename to pdfannotator/src/render/appendChild.js diff --git a/src/render/index.js b/pdfannotator/src/render/index.js similarity index 100% rename from src/render/index.js rename to pdfannotator/src/render/index.js diff --git a/src/render/renderLine.js b/pdfannotator/src/render/renderLine.js similarity index 100% rename from src/render/renderLine.js rename to pdfannotator/src/render/renderLine.js diff --git a/src/render/renderPath.js b/pdfannotator/src/render/renderPath.js similarity index 100% rename from src/render/renderPath.js rename to pdfannotator/src/render/renderPath.js diff --git a/src/render/renderPoint.js b/pdfannotator/src/render/renderPoint.js similarity index 100% rename from src/render/renderPoint.js rename to pdfannotator/src/render/renderPoint.js diff --git a/src/render/renderRect.js b/pdfannotator/src/render/renderRect.js similarity index 100% rename from src/render/renderRect.js rename to pdfannotator/src/render/renderRect.js diff --git a/src/render/renderText.js b/pdfannotator/src/render/renderText.js similarity index 100% rename from src/render/renderText.js rename to pdfannotator/src/render/renderText.js diff --git a/src/utils/abstractFunction.js b/pdfannotator/src/utils/abstractFunction.js similarity index 100% rename from src/utils/abstractFunction.js rename to pdfannotator/src/utils/abstractFunction.js diff --git a/src/utils/normalizeColor.js b/pdfannotator/src/utils/normalizeColor.js similarity index 100% rename from src/utils/normalizeColor.js rename to pdfannotator/src/utils/normalizeColor.js diff --git a/src/utils/setAttributes.js b/pdfannotator/src/utils/setAttributes.js similarity index 100% rename from src/utils/setAttributes.js rename to pdfannotator/src/utils/setAttributes.js diff --git a/src/utils/uuid.js b/pdfannotator/src/utils/uuid.js similarity index 100% rename from src/utils/uuid.js rename to pdfannotator/src/utils/uuid.js diff --git a/static/pdfannotator/pdf-annotate.min.js b/pdfannotator/static/pdfannotator/pdf-annotate.min.js similarity index 100% rename from static/pdfannotator/pdf-annotate.min.js rename to pdfannotator/static/pdfannotator/pdf-annotate.min.js diff --git a/static/pdfannotator/pdf-annotate.min.js.map b/pdfannotator/static/pdfannotator/pdf-annotate.min.js.map similarity index 100% rename from static/pdfannotator/pdf-annotate.min.js.map rename to pdfannotator/static/pdfannotator/pdf-annotate.min.js.map diff --git a/static/pdfannotator/pdf.js b/pdfannotator/static/pdfannotator/pdf.js similarity index 100% rename from static/pdfannotator/pdf.js rename to pdfannotator/static/pdfannotator/pdf.js diff --git a/static/pdfannotator/pdf.js.map b/pdfannotator/static/pdfannotator/pdf.js.map similarity index 100% rename from static/pdfannotator/pdf.js.map rename to pdfannotator/static/pdfannotator/pdf.js.map diff --git a/static/pdfannotator/pdf.worker.js b/pdfannotator/static/pdfannotator/pdf.worker.js similarity index 100% rename from static/pdfannotator/pdf.worker.js rename to pdfannotator/static/pdfannotator/pdf.worker.js diff --git a/static/pdfannotator/pdf2svg.js b/pdfannotator/static/pdfannotator/pdf2svg.js similarity index 100% rename from static/pdfannotator/pdf2svg.js rename to pdfannotator/static/pdfannotator/pdf2svg.js diff --git a/static/pdfannotator/pdf_viewer.css b/pdfannotator/static/pdfannotator/pdf_viewer.css similarity index 100% rename from static/pdfannotator/pdf_viewer.css rename to pdfannotator/static/pdfannotator/pdf_viewer.css diff --git a/static/pdfannotator/pdf_viewer.js b/pdfannotator/static/pdfannotator/pdf_viewer.js similarity index 100% rename from static/pdfannotator/pdf_viewer.js rename to pdfannotator/static/pdfannotator/pdf_viewer.js diff --git a/static/pdfannotator/toolbar.css b/pdfannotator/static/pdfannotator/toolbar.css similarity index 100% rename from static/pdfannotator/toolbar.css rename to pdfannotator/static/pdfannotator/toolbar.css diff --git a/templates/pdfannotator/pdfannotator.html b/pdfannotator/templates/pdfannotator/pdfannotator.html similarity index 100% rename from templates/pdfannotator/pdfannotator.html rename to pdfannotator/templates/pdfannotator/pdfannotator.html diff --git a/templatetags/__init__.py b/pdfannotator/templatetags/__init__.py similarity index 100% rename from templatetags/__init__.py rename to pdfannotator/templatetags/__init__.py diff --git a/templatetags/pdfannotator.py b/pdfannotator/templatetags/pdfannotator.py similarity index 100% rename from templatetags/pdfannotator.py rename to pdfannotator/templatetags/pdfannotator.py diff --git a/urls.py b/pdfannotator/urls.py similarity index 100% rename from urls.py rename to pdfannotator/urls.py diff --git a/views.py b/pdfannotator/views.py similarity index 100% rename from views.py rename to pdfannotator/views.py diff --git a/webpack.config.js b/pdfannotator/webpack.config.js similarity index 100% rename from webpack.config.js rename to pdfannotator/webpack.config.js diff --git a/webpack.web.js b/pdfannotator/webpack.web.js similarity index 100% rename from webpack.web.js rename to pdfannotator/webpack.web.js diff --git a/yarn.lock b/pdfannotator/yarn.lock similarity index 100% rename from yarn.lock rename to pdfannotator/yarn.lock diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..2024010 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,29 @@ +[metadata] +name = django-pdfannotator +version = 1.0 +url = https://git.pilotsystems.net/probarreau/pdfannotator +description = A Django app to annotate PDF files +long_description = file: README.rst +author = Yoan Le Clanche +author_email = yoanl@pilotsystems.net +classifiers = + Environment :: Web Environment + Framework :: Django + Framework :: Django :: 1.4 + Intended Audience :: Developers + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 2.7 + Programming Language :: Python :: 3 :: Only + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Topic :: Internet :: WWW/HTTP + Topic :: Internet :: WWW/HTTP :: Dynamic Content + +[options] +include_package_data = true +packages = find: +python_requires = >=2.7 +install_requires = + Django >= 1.4 # Replace "X.Y" as appropriate \ No newline at end of file diff --git a/setup.py b/setup.py index 31ad89e..6068493 100644 --- a/setup.py +++ b/setup.py @@ -1,28 +1,3 @@ -# -*- coding: utf-8 -*- -from setuptools import setup, find_packages -import os +from setuptools import setup -CLASSIFIERS = ['Environment :: Web Environment', -'Framework :: Django', -'Intended Audience :: Developers', -'Programming Language :: Python', -'Programming Language :: JavaScript', -'Topic :: Software Development :: Libraries :: Python Modules', -] - - -setup( - name = "pdfannotator", - description = "Add annotations to pdf", - author = "Pilotsystems", - author_email = "yoanl@pilotsystems.net", - version = '1.0.0', - install_requires = [ - 'Django>=1.4', - ], - platforms=['any'], - classifiers = CLASSIFIERS, - packages = find_packages(), - include_package_data = True, - zip_safe = False, -) +setup() -- 2.47.3