LICENCE_HEADER = """scriptedforms
Copyright (C) 2017 Simon Biggs

Licensed under both the Apache License, Version 2.0 (the "Apache-2.0") and 
GNU Affrero General Public License as published by the Free Software 
Foundation, either version 3 of the License, or (at your option) any later 
version (the "AGPL-3.0+").

You may not use this module except in compliance with both the Apache-2.0 AND 
the AGPL-3.0+ in combination (the "Combined Licenses").

You may obtain a copy of the AGPL-3.0+ at

    https://www.gnu.org/licenses/agpl-3.0.txt

You may obtain a copy of the Apache-2.0 at 

    https://www.apache.org/licenses/LICENSE-2.0.html

Unless required by applicable law or agreed to in writing, software
distributed under the Combined Licenses is distributed on an "AS IS" BASIS, 
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See 
the Combined Licenses for the specific language governing permissions and 
limitations under the Combined Licenses."""


import os
from setuptools import setup

repo_root = os.path.dirname(os.path.abspath(__file__))
name = 'scriptedforms'
pjoin = os.path.join

version_ns = {}
with open(pjoin(repo_root, name, '_version.py')) as file:
    code = file.read()
    exec(code, version_ns)

version = version_ns['__version__']

setup(
    name="scriptedforms",
    version=version,
    author="Simon Biggs",
    author_email="mail@simonbiggs.net",
    description="ScriptedForms.",
    long_description=(
        ""
    ),
    keywords=[],
    packages=[
        "scriptedforms"
    ],
    entry_points={
        'console_scripts': [
            'scriptedforms=scriptedforms:main',
        ],
    },
    license='AGPL-3.0+',
    python_requires='>=3.5',
    install_requires=[
        'notebook >= 5.3',
        'numpy',
        'pandas',
        'watchdog',
        'matplotlib'
    ],
    classifiers = [],
    url = "http://scriptedforms.com.au",
    include_package_data=True
)
@@ -1,989 +1,4 @@
-LICENCE_HEADER = %22%22%22scriptedforms%0ACopyright (C) 2017 Simon Biggs%0A%0ALicensed under both the Apache License, Version 2.0 (the %22Apache-2.0%22) and %0AGNU Affrero General Public License as published by the Free Software %0AFoundation, either version 3 of the License, or (at your option) any later %0Aversion (the %22AGPL-3.0+%22).%0A%0AYou may not use this module except in compliance with both the Apache-2.0 AND %0Athe AGPL-3.0+ in combination (the %22Combined Licenses%22).%0A%0AYou may obtain a copy of the AGPL-3.0+ at%0A%0A    https://www.gnu.org/licenses/agpl-3.0.txt%0A%0AYou may obtain a copy of the Apache-2.0 at %0A%0A    https://www.apache.org/licenses/LICENSE-2.0.html%0A%0AUnless required by applicable law or agreed to in writing, software%0Adistributed under the Combined Licenses is distributed on an %22AS IS%22 BASIS, %0AWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See %0Athe Combined Licenses for the specific language governing permissions and %0Alimitations under the Combined Licenses.%22%22%22%0A%0A%0A
 impo

simplify setup.py