-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
80 lines (70 loc) · 2.49 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#!/usr/bin/env python
# -*- coding: utf-8; tab-width: 4; mode: python -*-
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: t -*-
# vi: set ft=python sts=4 ts=4 sw=4 noet
#
# This file is part of FreeStation.
#
# FreeStation is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# FreeStation 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Fail2Ban; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# Author: Ángel Guzmán Maeso
#
# $Revision$
__author__ = 'Ángel Guzmán Maeso'
__version__ = '$Revision$'
__date__ = '$Date$'
__copyright__ = 'Copyright (c) 2012 Ángel Guzmán Maeso'
__license__ = 'GPL'
from setuptools import setup, find_packages
from sys import argv
from glob import glob
import freestation
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
KEYWORDS = 'freestation server ice'
longdesc = '''
FreeStation'''
setup(
name = 'freestation',
version = freestation.__version__,
description = 'FreeStation',
long_description = longdesc,
author = freestation.__author__,
author_email = freestation.__author_email__,
url = 'https://github.com/shakaran/freestation',
packages = find_packages(),
download_url = "http://pypi.python.org/pypi/freestation/",
classifiers = CLASSIFIERS,
keywords = KEYWORDS,
zip_safe = True,
install_requires = ['distribute'],
platforms = 'Posix',
license = 'AGPLv3',
"""scripts = [
],
data_files = [
]"""
)
# Update config file
if argv[1] == 'install':
print
print 'Please do not forget to update your configuration files.'
print