0
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
1 #! /usr/bin/env python |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
2 # -*- coding: utf-8 -*- |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
3 # |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
4 # Authors: |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
5 # Benoît Allard <benoit.allard@greenbone.net> |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
6 # |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
7 # Copyright: |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
8 # Copyright (C) 2014 Greenbone Networks GmbH |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
9 # |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
10 # This program is free software; you can redistribute it and/or |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
11 # modify it under the terms of the GNU General Public License |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
12 # as published by the Free Software Foundation; either version 2 |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
13 # of the License, or (at your option) any later version. |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
14 # |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
15 # This program is distributed in the hope that it will be useful, |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
18 # GNU General Public License for more details. |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
19 # |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
20 # You should have received a copy of the GNU General Public License |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
21 # along with this program; if not, write to the Free Software |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
22 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
23 |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
24 import os |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
25 |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
26 from setuptools import setup |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
27 |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
28 from farol import __version__ |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
29 |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
30 here = os.path.dirname(os.path.abspath(__file__)) |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
31 |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
32 with open(os.path.join(here, 'README.txt'), 'rt') as f: |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
33 long_description = f.read() |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
34 |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
35 setup( |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
36 name="farol", |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
37 version=__version__, |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
38 description="A Security Advisory Management Web Platform", |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
39 long_description=long_description, |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
40 author="Benoît Allard", |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
41 author_email='benoit.allard@greenbone.net', |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
42 license='GPLv2+', |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
43 packages=['farol'], |
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
44 scripts=['run_web'], |
152
617915733729
Raise requirement on FarolLuz (now that it's released)
Benoît Allard <benoit.allard@greenbone.net>
diff
changeset
|
45 install_requires=['farolluz >= 1.0', 'Flask'], |
0
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
46 test_suite='tests', |
1
63b00c10ada8
Add Configuration support, warning when in DEBUG mode, and Deployment instruction
Benoît Allard <benoit.allard@greenbone.net>
diff
changeset
|
47 # 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>
diff
changeset
|
48 include_package_data=True, |
0
Benoît Allard <benoit.allard@greenbone.net>
parents:
diff
changeset
|
49 ) |