Skip to content

Commit

Permalink
make it work with ort (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
edulix authored Jul 19, 2021
1 parent d96b96b commit 4c0314c
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .ort.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# SPDX-FileCopyrightText: 2014-2021 Agora Voting SL <[email protected]>
#
# SPDX-License-Identifier: AGPL-3.0-only

---
resolutions:
rule_violations:
- message: "The package PIP::agora-tools-requirements:.* has the declared ScanCode copyleft catalogized license AGPL-3.0-only."
reason: "LICENSE_ACQUIRED_EXCEPTION"
comment: "The project is open source so it's normal that it's set as such."

- message: "The package PyPI::.* has the declared ScanCode copyleft-limited categorized license LGPL.*"
reason: "DYNAMIC_LINKAGE_EXCEPTION"
comment: "This is not a problem because python modules are always dynamic, see https://stackoverflow.com/questions/8580223/using-python-module-on-lgpl-license-in-commercial-product and https://mail.python.org/pipermail/tutor/2015-June/105759.html."

- message: "The package PyPI::.* has the declared ScanCode copyleft-limited categorized license MPL.*"
reason: "DYNAMIC_LINKAGE_EXCEPTION"
comment: "This is not a problem because we are not modifying the MPL code."
39 changes: 39 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/env python3

# This file is part of agora-results.
# Copyright (C) 2014-2021 Agora Voting SL <[email protected]>

# agora-results 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.

# agora-results 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 agora-results. If not, see <http://www.gnu.org/licenses/>.

from setuptools import setup

setup(
name='agora-tools',
version='20.2.0',
author='Agora Voting SL',
author_email='[email protected]',
packages=[],
scripts=[],
url='http://github.com/agoravoting/agora-tools/',
license='AGPL-3.0',
description='agora tools',
long_description=open('README.md').read(),
install_requires=[
'SQLAlchemy==1.3.0',
'argparse==1.2.1',
'datadiff==1.1.6',
'prettytable==0.7.2',
'requests==2.20.0',
'pyminizip==0.2.4'
]
)

0 comments on commit 4c0314c

Please sign in to comment.