annotate setup.py @ 175:e8adc0b2c341

about: Clarify the GPL, and explicitly says it's Free Software
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 08 Jan 2015 10:07:39 +0100
parents aa41244fbec6
children
rev   line source
0
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
1 #! /usr/bin/env python
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
3 #
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
4 # Authors:
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
5 # Benoît Allard <benoit.allard@greenbone.net>
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
6 #
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
7 # Copyright:
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
8 # Copyright (C) 2014 Greenbone Networks GmbH
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
9 #
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
10 # This program is free software; you can redistribute it and/or
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
11 # modify it under the terms of the GNU General Public License
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
12 # as published by the Free Software Foundation; either version 2
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
13 # of the License, or (at your option) any later version.
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
14 #
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
15 # This program is distributed in the hope that it will be useful,
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
18 # GNU General Public License for more details.
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
19 #
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
20 # You should have received a copy of the GNU General Public License
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
21 # along with this program; if not, write to the Free Software
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
22 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
23
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
24 import os
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
25
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
26 from setuptools import setup
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
27
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
28 from farol import __version__
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
29
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
30 here = os.path.dirname(os.path.abspath(__file__))
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
31
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
32 with open(os.path.join(here, 'README.txt'), 'rt') as f:
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
33 long_description = f.read()
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
34
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
35 setup(
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
36 name="farol",
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
37 version=__version__,
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
38 description="A Security Advisory Management Web Platform",
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
39 long_description=long_description,
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
40 author="Benoît Allard",
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
41 author_email='benoit.allard@greenbone.net',
174
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
42 url="https://wald.intevation.org/projects/farol/",
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
43 platforms=['any'],
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
44 keywords=['security', 'visualization', 'webapplication'],
0
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
45 license='GPLv2+',
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
46 packages=['farol'],
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
47 scripts=['run_web'],
169
2af7621bf57a Update dependency on FarolLuz
Benoît Allard <benoit.allard@greenbone.net>
parents: 152
diff changeset
48 install_requires=['farolluz >= 1.1.0', 'Flask'],
0
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
49 test_suite='tests',
174
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
50 classifiers=[
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
51 'Development Status :: 5 - Production/Stable',
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
52 'Environment :: Web Environment',
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
53 'Framework :: Flask',
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
54 'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
55 'Natural Language :: English',
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
56 'Programming Language :: Python :: 2.7',
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
57 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
58 'Topic :: Security',
aa41244fbec6 Update the setup.py
Benoît Allard <benoit.allard@greenbone.net>
parents: 169
diff changeset
59 ],
1
63b00c10ada8 Add Configuration support, warning when in DEBUG mode, and Deployment instruction
Benoît Allard <benoit.allard@greenbone.net>
parents: 0
diff changeset
60 # Also install the templates and the static dir
63b00c10ada8 Add Configuration support, warning when in DEBUG mode, and Deployment instruction
Benoît Allard <benoit.allard@greenbone.net>
parents: 0
diff changeset
61 include_package_data=True,
0
4a9f23230eba Initial Release
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff changeset
62 )

http://farol.wald.intevation.org