Python Licence, what ?

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Locked
persen61
Newbie
Newbie
Posts: 12
Joined: January 2nd, 2009, 5:09 pm

Python Licence, what ?

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Python Licence, what ?

Post 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.
Last edited by shypike on January 15th, 2009, 7:47 am, edited 1 time in total.
persen61
Newbie
Newbie
Posts: 12
Joined: January 2nd, 2009, 5:09 pm

Re: Python Licence, what ?

Post by persen61 »

Thanks I will read it. :)
Locked