Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(27)  |  Call(21)  |  Derive(0)  |  Import(6)
Let the use pick the licence

    

src/s/k/skeleton-0.6/skeleton/tests/test_examples.py   skeleton(Download)
 
from skeleton.examples.basicpackage import BasicPackage, main
from skeleton.examples.licenses import (
    BSD, BSD_THIRD_CLAUSE, GPL, LGPL, NoLicense, LicenseChoice,
    )
    def test_licence_skel_default(self):
        """Tests the default license_ske property"""
        skel = LicenseChoice(author='Damien Lebrun', project_name='Foo')
 
        self.assertTrue(isinstance(skel.license_skel, NoLicense))
    def test_bsd_licence_skel(self):
        """Tests for a BSD license_ske property"""
        skel = LicenseChoice(
            author='Damien Lebrun', project_name='Foo', license='BSD'
            )
    def test_gpl_licence_skel(self):
        """Tests for a GPL license_ske property"""
        skel = LicenseChoice(
            author='Damien Lebrun', project_name='Foo', license='GPL'
            )
    def test_lgpl_licence_skel(self):
        """Tests for a LGPL license_ske property"""
        skel = LicenseChoice(
            author='Damien Lebrun', project_name='Foo', license='LGPL'
            )

src/s/k/skeleton_stu-0.6.3/skeleton/tests/test_examples.py   skeleton_stu(Download)
 
from skeleton.examples.basicpackage import BasicPackage, main
from skeleton.examples.licenses import (
    BSD, BSD_THIRD_CLAUSE, GPL, LGPL, NoLicense, LicenseChoice,
    )
    def test_licence_skel_default(self):
        """Tests the default license_ske property"""
        skel = LicenseChoice(author='Damien Lebrun', project_name='Foo')
 
        self.assertTrue(isinstance(skel.license_skel, NoLicense))
    def test_bsd_licence_skel(self):
        """Tests for a BSD license_ske property"""
        skel = LicenseChoice(
            author='Damien Lebrun', project_name='Foo', license='BSD'
            )
    def test_gpl_licence_skel(self):
        """Tests for a GPL license_ske property"""
        skel = LicenseChoice(
            author='Damien Lebrun', project_name='Foo', license='GPL'
            )
    def test_lgpl_licence_skel(self):
        """Tests for a LGPL license_ske property"""
        skel = LicenseChoice(
            author='Damien Lebrun', project_name='Foo', license='LGPL'
            )

src/s/k/skeleton-HEAD/skeleton/tests/test_examples.py   skeleton(Download)
 
from skeleton.examples.basicpackage import BasicPackage, main
from skeleton.examples.licenses import (
    BSD, BSD_THIRD_CLAUSE, GPL, LGPL, NoLicense, LicenseChoice,
    )
    def test_licence_skel_default(self):
        """Tests the default license_ske property"""
        skel = LicenseChoice(author='Damien Lebrun', project_name='Foo')
 
        self.assertTrue(isinstance(skel.license_skel, NoLicense))
    def test_bsd_licence_skel(self):
        """Tests for a BSD license_ske property"""
        skel = LicenseChoice(
            author='Damien Lebrun', project_name='Foo', license='BSD'
            )
    def test_gpl_licence_skel(self):
        """Tests for a GPL license_ske property"""
        skel = LicenseChoice(
            author='Damien Lebrun', project_name='Foo', license='GPL'
            )
    def test_lgpl_licence_skel(self):
        """Tests for a LGPL license_ske property"""
        skel = LicenseChoice(
            author='Damien Lebrun', project_name='Foo', license='LGPL'
            )

src/s/k/skeleton-0.6/skeleton/examples/basicpackage.py   skeleton(Download)
from skeleton import Skeleton, Var
from skeleton.utils import get_loggger, insert_into_file
from skeleton.examples.licenses import LicenseChoice
 
 

src/s/k/skeleton_stu-0.6.3/skeleton/examples/basicpackage.py   skeleton_stu(Download)
from skeleton import Skeleton, Var
from skeleton.utils import get_loggger, insert_into_file
from skeleton.examples.licenses import LicenseChoice
 
 

src/s/k/skeleton-HEAD/skeleton/examples/basicpackage.py   skeleton(Download)
from skeleton import Skeleton, Var
from skeleton.utils import get_loggger, insert_into_file
from skeleton.examples.licenses import LicenseChoice