Page 1 of 1

Python Licence, what ?

Posted: January 14th, 2009, 2:08 am
by persen61
What is this all about. Is python a program with licence ?

Downunder the terminal text.



#!/usr/bin/python -OO
# Copyright 2008 The SABnzbd-Team
#
# This program 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 2
# of the License, or (at your option) any later version.
#
# This program 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 this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

import sys
if sys.hexversion < 0x020403F0:
    print "Sorry, requires Python 2.4.3 or higher."
    exit(1)

import logging
import logging.handlers
import os
import getopt
import signal
import re
import glob
import socket
if os.name=='nt':
    import platform
   
try:
    import Cheetah
    if Cheetah.Version[0] != '2':
        raise ValueError
except:
    print "Sorry, requires Python module Cheetah 2.0rc7 or higher."
    exit(1)

import cherrypy

import sabnzbd
from sabnzbd.utils.configobj import ConfigObj, ConfigObjError
from sabnzbd.__init__ import check_setting_str, check_setting_int, dir_setup
from sabnzbd.interface import *
from sabnzbd.constants import *
from sabnzbd.newsunpack import find_programs
from sabnzbd.misc import Get_User_ShellFolders, save_configfile, launch_a_browser, from_units, \
                        check_latest_version, Panic_Templ, Panic_Port, Panic_FWall, Panic, ExitSab, \
                        decodePassword, Notify, SplitHost, ConvertVersion

from threading import Threadp

Re: Python Licence, what ?

Posted: January 14th, 2009, 2:54 am
by shypike
SABnzbd is a copyrighted program, just like 99% of Open Source.
It is published under the GPL licencse.

Python, the programming language we use has its own copyright and license.

Just because software is Open Source and free, doesn't mean it isn't copyrighted.

Read this:
http://www.gnu.org/licenses/gpl.html

BTW: the "#!/usr/bin/python -OO" is just to tell the operating system
and text editors that SABnzbd is actually written in Python.

Re: Python Licence, what ?

Posted: January 14th, 2009, 10:15 am
by persen61
Thanks I will read it. :)