Commit 5d0dbbe8 authored by Pierre Dittgen's avatar Pierre Dittgen

validata_ui_next -> validata_ui

parent fef8b69e
__pycache__/ __pycache__/
validata_ui_next.egg-info/ validata_ui.egg-info/
...@@ -16,7 +16,7 @@ pip install -e . ...@@ -16,7 +16,7 @@ pip install -e .
Start the web server: Start the web server:
```bash ```bash
export FLASK_APP=validata_ui_next export FLASK_APP=validata_ui
export FLASK_ENV=development export FLASK_ENV=development
flask run flask run
* Running on http://127.0.0.1:5000/ * Running on http://127.0.0.1:5000/
......
#! /bin/sh #! /bin/sh
export FLASK_APP=validata_ui_next export FLASK_APP=validata_ui
export FLASK_ENV=development export FLASK_ENV=development
flask run --with-threads flask run --with-threads
...@@ -13,7 +13,7 @@ License :: OSI Approved :: GNU Affero General Public License v3 ...@@ -13,7 +13,7 @@ License :: OSI Approved :: GNU Affero General Public License v3
setup( setup(
name='validata_ui_next', name='validata_ui',
version='0.0.1', version='0.0.1',
author='Pierre Dittgen', author='Pierre Dittgen',
...@@ -21,7 +21,7 @@ setup( ...@@ -21,7 +21,7 @@ setup(
classifiers=[classifier for classifier in classifiers.split('\n') if classifier], classifiers=[classifier for classifier in classifiers.split('\n') if classifier],
description=__doc__, description=__doc__,
packages=['validata_ui_next'], packages=['validata_ui'],
include_package_data=True, include_package_data=True,
install_requires=[ install_requires=[
'flask', 'flask',
......
...@@ -3,7 +3,7 @@ from pathlib import Path ...@@ -3,7 +3,7 @@ from pathlib import Path
from flask import Flask from flask import Flask
from validata_ui_next.validate_helper import ValidatorHelper from validata_ui.validate_helper import ValidatorHelper
# Schemas settings # Schemas settings
schemas_config = { schemas_config = {
...@@ -110,4 +110,4 @@ ValidatorHelper.init(schemas_config, Path('/tmp')) ...@@ -110,4 +110,4 @@ ValidatorHelper.init(schemas_config, Path('/tmp'))
app = Flask(__name__) app = Flask(__name__)
app.secret_key = 'MyPr3ci0u5$€cr€t' app.secret_key = 'MyPr3ci0u5$€cr€t'
import validata_ui_next.views import validata_ui.views
...@@ -10,10 +10,10 @@ from pathlib import Path ...@@ -10,10 +10,10 @@ from pathlib import Path
from validata_validate import csv_helpers from validata_validate import csv_helpers
from validata_validate.loaders import custom_loaders from validata_validate.loaders import custom_loaders
from validata_ui_next import app from validata_ui import app
from validata_ui_next.util import flash_error, flash_info, flash_success, flash_warning, ValidataSource from validata_ui.util import flash_error, flash_info, flash_success, flash_warning, ValidataSource
from validata_ui_next.validate_helper import ValidatorHelper from validata_ui.validate_helper import ValidatorHelper
from validata_ui_next import error_messages from validata_ui import error_messages
from flask import Flask, jsonify, redirect, render_template, request, url_for from flask import Flask, jsonify, redirect, render_template, request, url_for
import tabulator import tabulator
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment