Move licence in setup.py, fix modelines, module and package doctrings.
This commit is contained in:
parent
e1190c872d
commit
e64ea7b3d1
@ -1,19 +1,7 @@
|
||||
"""
|
||||
This file is part of Accountant.
|
||||
"""The accountant package."""
|
||||
|
||||
Accountant is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
Accountant is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
import click
|
||||
|
||||
from flask import Flask
|
||||
|
@ -1,19 +1,7 @@
|
||||
"""
|
||||
This file is part of Accountant.
|
||||
"""Package containing models."""
|
||||
|
||||
Accountant is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
Accountant is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
import pkgutil
|
||||
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
|
@ -1,19 +1,7 @@
|
||||
"""
|
||||
This file is part of Accountant.
|
||||
"""Module containing account related models."""
|
||||
|
||||
Accountant is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
Accountant is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
# pylint: disable=no-member,too-few-public-methods
|
||||
from . import db
|
||||
|
||||
|
@ -1,19 +1,7 @@
|
||||
"""
|
||||
This file is part of Accountant.
|
||||
"""Module containing operation related models."""
|
||||
|
||||
Accountant is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
Accountant is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
from datetime import date
|
||||
|
||||
import arrow
|
||||
|
@ -1,19 +1,7 @@
|
||||
"""
|
||||
This file is part of Accountant.
|
||||
"""Module containing scheduled operation related models."""
|
||||
|
||||
Accountant is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
Accountant is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
from calendar import monthrange
|
||||
|
||||
import arrow
|
||||
|
@ -1,20 +1,7 @@
|
||||
"""
|
||||
This file is part of Accountant.
|
||||
"""Module containing user related models."""
|
||||
|
||||
Accountant is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Accountant is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
from passlib.hash import sha256_crypt as crypt
|
||||
from itsdangerous import (URLSafeTimedSerializer as Serializer,
|
||||
BadSignature, SignatureExpired)
|
||||
|
@ -1,5 +1,7 @@
|
||||
"""Accountant runner."""
|
||||
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
from os import path, getcwd
|
||||
|
||||
import click
|
||||
|
@ -1,19 +1,7 @@
|
||||
"""
|
||||
This file is part of Accountant.
|
||||
"""Package containing views."""
|
||||
|
||||
Accountant is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
Accountant is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
from flask_cors import CORS
|
||||
from flask_restplus import Api
|
||||
|
||||
|
@ -1,19 +1,7 @@
|
||||
"""
|
||||
This file is part of Accountant.
|
||||
"""Module containing account related views."""
|
||||
|
||||
Accountant is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
Accountant is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
import dateutil.parser
|
||||
|
||||
from flask_restplus import Namespace, Resource, fields
|
||||
|
@ -1,19 +1,7 @@
|
||||
"""
|
||||
This file is part of Accountant.
|
||||
"""Module containing operation related views."""
|
||||
|
||||
Accountant is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
Accountant is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
import dateutil.parser
|
||||
|
||||
from flask_restplus import Namespace, Resource, fields
|
||||
|
@ -1,19 +1,7 @@
|
||||
"""
|
||||
This file is part of Accountant.
|
||||
"""Module containing scheduled operation related views."""
|
||||
|
||||
Accountant is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
Accountant is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
from flask_restplus import Namespace, Resource, fields
|
||||
|
||||
from sqlalchemy import true
|
||||
|
@ -1,20 +1,7 @@
|
||||
"""
|
||||
This file is part of Accountant.
|
||||
"""Module containing user related views."""
|
||||
|
||||
Accountant is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
Accountant is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Affero General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with Accountant. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
from functools import wraps
|
||||
|
||||
import arrow
|
||||
|
12
setup.py
12
setup.py
@ -1,10 +1,18 @@
|
||||
"Distribution setup."
|
||||
"""Accountant distribution setup."""
|
||||
|
||||
# vim: set tw=80 ts=4 sw=4 sts=4:
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
setup(
|
||||
name='Accountant',
|
||||
version='0.0.1',
|
||||
licence='AGPL',
|
||||
author='Alexis Lahouze',
|
||||
author_email='alexis@lahouze.org',
|
||||
|
||||
long_description=__doc__,
|
||||
|
||||
packages=find_packages(),
|
||||
|
||||
include_package_data=True,
|
||||
@ -35,6 +43,4 @@ setup(
|
||||
'pytest-cov',
|
||||
'pytest-mock',
|
||||
],
|
||||
author='Alexis Lahouze',
|
||||
author_email='alexis@lahouze.org',
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user