示例#1
0
# Copyright L.P.Klyne 2013
# Licenced under 3 clause BSD licence

from setuptools import setup, find_packages
from turbogears.finddata import find_package_data

import os

execfile(os.path.join("testserver", "release.py"))

packages = find_packages()
package_data = find_package_data(where="testserver", package="testserver")
if os.path.isdir("locales"):
    packages.append("locales")
    package_data.update(find_package_data(where="locales", exclude=("*.po",), only_in_packages=False))

setup(
    name="TestServer",
    version=version,
    # uncomment the following lines if you fill them out in release.py
    # description=description,
    # author=author,
    # author_email=email,
    # url=url,
    # download_url=download_url,
    # license=license,
    install_requires=["TurboGears >= 1.0.3.2"],
    scripts=["start-testserver.py"],
    zip_safe=False,
    packages=packages,
    package_data=package_data,
示例#2
0
文件: setup.py 项目: gasolin/tg2exe
 name="tg2exe",
 version=version,
 
 # uncomment the following lines if you fill them out in release.py
 description=description,
 long_description=long_description,
 author=author,
 author_email=email,
 url=url,
 download_url=download_url,
 #license=license,
 
 install_requires = ["TurboGears >= 1.0b1"],
 zip_safe=True,
 packages=find_packages(),
 package_data = find_package_data(where='tg2exe',
                                  package='tg2exe'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     #'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#3
0
    version=version,

    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,
    install_requires=[
        "TurboGears >= 1.0b1",
    ],
    scripts=["start-pytilsex.py"],
    zip_safe=False,
    packages=find_packages(),
    package_data=find_package_data(where='pytilsex', package='pytilsex'),
    keywords=[
        # Use keywords if you'll be adding your package to the
        # Python Cheeseshop

        # if this has widgets, uncomment the next line
        # 'turbogears.widgets',

        # if this has a tg-admin command, uncomment the next line
        # 'turbogears.command',

        # if this has identity providers, uncomment the next line
        # 'turbogears.identity.provider',

        # If this is a template plugin, uncomment the next line
        # 'python.templating.engines',
示例#4
0
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from turbogears.finddata import find_package_data

import os

execfile(os.path.join("erpcomparator", "release.py"))

packages = find_packages()
package_data = find_package_data(where='erpcomparator',
                                 package='erpcomparator')
if os.path.isdir('locales'):
    packages.append('locales')
    package_data.update(
        find_package_data(where='locales',
                          exclude=('*.po', ),
                          only_in_packages=False))

setup(
    name="erpComparator",
    version=version,
    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,
    install_requires=["TurboGears >= 1.0.8", "SQLObject>=0.10.1"],
    zip_safe=False,
示例#5
0
文件: setup.py 项目: ccoss/fas
# fas/static => /usr/share/fas/static
data_files = [('fas/static', filter(os.path.isfile, glob.glob('fas/static/*'))),
    ('fas/static/css', filter(os.path.isfile, glob.glob('fas/static/css/*'))),
    ('fas/static/images', filter(os.path.isfile, glob.glob('fas/static/images/*'))),
    ('fas/static/images/balloons', filter(os.path.isfile, glob.glob('fas/static/images/balloons/*'))),
    ('fas/static/js', filter(os.path.isfile, glob.glob('fas/static/js/*'))),
    ('fas/static/theme', filter(os.path.isfile, glob.glob('fas/static/theme/*'))),
    ('fas/static/theme/fas', filter(os.path.isfile, glob.glob('fas/static/theme/fas/*'))),
    ('fas/static/theme/fas/css', filter(os.path.isfile, glob.glob('fas/static/theme/fas/css/*'))),
    ('fas/static/theme/fas/images', filter(os.path.isfile, glob.glob('fas/static/theme/fas/images/*'))),
]
for langfile in filter(os.path.isfile, glob.glob('locale/*/*/*')):
    data_files.append((os.path.dirname(langfile), [langfile]))

package_data = find_package_data(where='fas', package='fas', exclude=excludeFiles, exclude_directories=excludeDataDirs,)
# Even if it doesn't exist yet, has to be in the list to be included in the build.
package_data['fas.config'].append('app.cfg')

setup(
    name=NAME,
    version=VERSION,

    description=DESCRIPTION,
    author=AUTHOR,
    author_email=EMAIL,
    url=URL,
    download_url=DOWNLOAD_URL,
    license=LICENSE,

    cmdclass={
示例#6
0
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from turbogears.finddata import find_package_data

import os
execfile(os.path.join("techventory2", "release.py"))

packages=find_packages()
package_data = find_package_data(where='techventory2',
    package='techventory2')
if os.path.isdir('locales'):
    packages.append('locales')
    package_data.update(find_package_data(where='locales',
        exclude=('*.po',), only_in_packages=False))

setup(
    name="techventory2",
    version=version,
    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,

    install_requires=[
        "TurboGears >= 1.0.5",
        "SQLAlchemy>=0.3.10",
    ],
示例#7
0
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from setuptools.command.build_py import build_py
from turbogears.finddata import find_package_data

import os

execfile(os.path.join('pingpong', 'release.py'))

packages = find_packages()
package_data = find_package_data(where='pingpong', package='pingpong')
if os.path.isdir('locales'):
    packages.append('locales')
    package_data.update(
        find_package_data(where='locales',
                          exclude=('*.po', ),
                          only_in_packages=False))


class build_py_and_kid(build_py):
    """Build pure Python modules and Kid templates."""
    def byte_compile(self, files):
        """Byte-compile all Python modules and all Kid templates."""
        build_py.byte_compile(self, files)
        kid_files = [f for f in files if f.endswith('.kid')]
        if not kid_files:
            return
        from distutils import log
        try:
            from kid.compiler import compile_file
示例#8
0
 
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 1.0.1",
 ],
 scripts = ["start-calabro.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='calabro',
                                  package='calabro'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#9
0
    version=version,

    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,
    install_requires=[
        "TurboGears >= 0.9a7",
    ],
    scripts=["start-mesa.py"],
    zip_safe=False,
    packages=find_packages(),
    package_data=find_package_data(where='mesa', package='mesa'),
    keywords=[
        # Use keywords if you'll be adding your package to the
        # Python Cheeseshop

        # if this has widgets, uncomment the next line
        # 'turbogears.widgets',

        # if this has a tg-admin command, uncomment the next line
        # 'turbogears.command',

        # if this has identity providers, uncomment the next line
        # 'turbogears.identity.provider',

        # If this is a template plugin, uncomment the next line
        # 'python.templating.engines',
示例#10
0
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from turbogears.finddata import find_package_data

import os
execfile(os.path.join("grooserv", "release.py"))

packages = find_packages()
package_data = find_package_data(where='grooserv', package='grooserv')
if os.path.isdir('locales'):
    packages.append('locales')
    package_data.update(
        find_package_data(where='locales',
                          exclude=('*.po', ),
                          only_in_packages=False))

setup(
    name="grooserv",
    version=version,
    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,
    install_requires=["TurboGears >= 1.0.5", "SQLObject>=0.7.1"],
    zip_safe=False,
    packages=packages,
    package_data=package_data,
示例#11
0
    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,
    install_requires=[
        "TurboGears >= 1.0",
        "SQLAlchemy",
    ],
    scripts=["start-videostore.py"],
    zip_safe=False,
    packages=find_packages(),
    package_data=find_package_data(where='videostore', package='videostore'),
    keywords=[
        # Use keywords if you'll be adding your package to the
        # Python Cheeseshop

        # if this has widgets, uncomment the next line
        # 'turbogears.widgets',

        # if this has a tg-admin command, uncomment the next line
        # 'turbogears.command',

        # if this has identity providers, uncomment the next line
        # 'turbogears.identity.provider',

        # If this is a template plugin, uncomment the next line
        # 'python.templating.engines',
示例#12
0
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from setuptools.command.build_py import build_py
from turbogears.finddata import find_package_data

import os

execfile(os.path.join("protdigest1", "release.py"))

packages = find_packages()
package_data = find_package_data(where='protdigest1', package='protdigest1')
if os.path.isdir('locales'):
    packages.append('locales')
    package_data.update(
        find_package_data(where='locales',
                          exclude=('*.po', ),
                          only_in_packages=False))


class build_py_and_kid(build_py):
    """Build pure Python modules and Kid templates."""
    def byte_compile(self, files):
        """Byte-compile all Python modules and all Kid templates."""
        build_py.byte_compile(self, files)
        kid_files = [f for f in files if f.endswith('.kid')]
        if not kid_files:
            return
        from distutils import log
        try:
            from kid.compiler import compile_file
示例#13
0
 version=version,
 
 # uncomment the following lines if you fill them out in release.py
 description=description,
 long_description=long_description,
 author=author,
 author_email=email,
 #url=url,
 #download_url=download_url,
 license=license,
 
 install_requires = ["TurboGears >= 1.0.1"],
 zip_safe=False,
 include_package_data = True,
 packages=find_packages(exclude=["ez_setup"]),
 package_data = find_package_data(where='jquery',
                                  package='jquery'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#14
0
文件: setup.py 项目: ccoss/fas
    ('fas/static/js', filter(os.path.isfile, glob.glob('fas/static/js/*'))),
    ('fas/static/theme', filter(os.path.isfile,
                                glob.glob('fas/static/theme/*'))),
    ('fas/static/theme/fas',
     filter(os.path.isfile, glob.glob('fas/static/theme/fas/*'))),
    ('fas/static/theme/fas/css',
     filter(os.path.isfile, glob.glob('fas/static/theme/fas/css/*'))),
    ('fas/static/theme/fas/images',
     filter(os.path.isfile, glob.glob('fas/static/theme/fas/images/*'))),
]
for langfile in filter(os.path.isfile, glob.glob('locale/*/*/*')):
    data_files.append((os.path.dirname(langfile), [langfile]))

package_data = find_package_data(
    where='fas',
    package='fas',
    exclude=excludeFiles,
    exclude_directories=excludeDataDirs,
)
# Even if it doesn't exist yet, has to be in the list to be included in the build.
package_data['fas.config'].append('app.cfg')

setup(
    name=NAME,
    version=VERSION,
    description=DESCRIPTION,
    author=AUTHOR,
    author_email=EMAIL,
    url=URL,
    download_url=DOWNLOAD_URL,
    license=LICENSE,
    cmdclass={
示例#15
0
from setuptools import setup, find_packages
from turbogears.finddata import find_package_data

import os
execfile(os.path.join("testserver", "release.py"))

packages=find_packages()
package_data = find_package_data(where='testserver',
    package='testserver')
if os.path.isdir('locales'):
    packages.append('locales')
    package_data.update(find_package_data(where='locales',
        exclude=('*.po',), only_in_packages=False))

setup(
    name="TestServer",
    version=version,

    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,

    install_requires=[
        "TurboGears >= 1.0.3.2",
    ],
    scripts=["start-testserver.py"],
    zip_safe=False,
示例#16
0
# Copyright L.P.Klyne 2013
# Licenced under 3 clause BSD licence

from setuptools import setup, find_packages
from turbogears.finddata import find_package_data

import os

# execfile(os.path.join("WebBrickConfig", "release.py"))

wb_packages = find_packages() + ["resources"]

## + ["resources/wbconf/"+d for d in ["Example-1","Example-2","Example-3","Thirtover"] ]

wb_package_data = find_package_data(where="WebBrickConfig", package="WebBrickConfig")
wb_resource_data = find_package_data(
    where="resources", package="resources", exclude=["*.zip"], exclude_directories=[".*", "Thirtover1"]
)
wb_package_data.update(wb_resource_data)


# wb_package_data.update({'log': []})
# wb_package_data.update({'': ["prod.cfg"]})

# ["wbconf/"+d+"/*.xml" for d in ["Example-1","Example-2","Example-3","Thirtover"] ]

setup(
    name="WebBrickConfig",
    version="2.0",
    description="WebBrick Configuration Server",
    author="Graham Klyne",
示例#17
0
# Copyright L.P.Klyne 2013 
# Licenced under 3 clause BSD licence 

from setuptools import setup, find_packages
from turbogears.finddata import find_package_data

wb_packages = find_packages() + ["resources"]
wb_package_data = find_package_data(where='WebBrickRes', package='WebBrickRes')
wb_resource_data = find_package_data(where='resources', package='resources', 
                                     exclude=["*.zip", "MochiKit.uncompressed.js", ],
                                     exclude_directories=['.*', "Thirtover1", "images_source", "classic_images_source", "new_images_source", "imagesDrop_source", "Source" ])
wb_package_data.update(wb_resource_data)

setup(
    name="WebBrickRes",
    version="2.0",
    
    description="Webbrick Gateway Static Resources",
    long_description="""This egg contains graphic resources for the Webbrick Gateway applications, so updates can
 be made to these independant of updates to the application source.""",

    author="oh2m8 Ltd.",
    url="http://www.h2m8.com",
    
    install_requires = [
    ],
    scripts = [],
    zip_safe=False,
    packages=wb_packages,
    package_data = wb_package_data,
    keywords = [
示例#18
0
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from turbogears.finddata import find_package_data

import os
exec(open(os.path.join("tgpisa", "release.py")).read())

packages = find_packages()
package_data = find_package_data(where='tgpisa', package='tgpisa')
if os.path.isdir('locales'):
    packages.append('locales')
    package_data.update(
        find_package_data(where='locales',
                          exclude=('*.po', ),
                          only_in_packages=False))

setup(
    name="tgpisa",
    version=version,
    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,
    install_requires=["TurboGears >= 1.0.4.3", "SQLObject>=0.8,<=0.10.0"],
    zip_safe=False,
    packages=packages,
    package_data=package_data,
示例#19
0
文件: setup.py 项目: cdent/st-clients
 
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 1.0.1",
 ],
 scripts = ["start-st.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='st',
                                  package='st'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#20
0
 
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 1.0.2.2",
 ],
 scripts = ["start-shutterbug.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='shutterbug',
                                  package='shutterbug'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#21
0
文件: setup.py 项目: jinmingda/rmidb2
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from setuptools.command.build_py import build_py
from turbogears.finddata import find_package_data

import os

execfile(os.path.join("rmidb2", "release.py"))

packages = find_packages()
package_data = find_package_data(where="rmidb2", package="rmidb2")
if os.path.isdir("locales"):
    packages.append("locales")
    package_data.update(find_package_data(where="locales", exclude=("*.po",), only_in_packages=False))


class build_py_and_kid(build_py):
    """Build pure Python modules and Kid templates."""

    def byte_compile(self, files):
        """Byte-compile all Python modules and all Kid templates."""
        build_py.byte_compile(self, files)
        kid_files = [f for f in files if f.endswith(".kid")]
        if not kid_files:
            return
        from distutils import log

        try:
            from kid.compiler import compile_file
        except ImportError:
示例#22
0
 
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 1.0b1",
 ],
 scripts = ["start-pytilsex.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='pytilsex',
                                  package='pytilsex'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#23
0
 
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 1.0.1",
 ],
 scripts = ["start-simtest.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='simtest',
                                  package='simtest'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#24
0
文件: setup.py 项目: thraxil/gtreed
 
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 1.0b1",
 ],
 scripts = ["start-treed.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='treed',
                                  package='treed'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#25
0
    version=version,

    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,
    install_requires=[
        "TurboGears >= 1.0.1",
    ],
    scripts=["start-roboide.py"],
    zip_safe=False,
    packages=find_packages(),
    package_data=find_package_data(where='roboide', package='roboide'),
    keywords=[
        # Use keywords if you'll be adding your package to the
        # Python Cheeseshop

        # if this has widgets, uncomment the next line
        # 'turbogears.widgets',

        # if this has a tg-admin command, uncomment the next line
        # 'turbogears.command',

        # if this has identity providers, uncomment the next line
        # 'turbogears.identity.provider',

        # If this is a template plugin, uncomment the next line
        # 'python.templating.engines',
示例#26
0
 
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 1.0",
 ],
 scripts = ["start-sercom.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='sercom',
                                  package='sercom'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#27
0
文件: setup.py 项目: daqing15/elixir
    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,

    install_requires = [
        "TurboGears >= 1.0",
        "SQLAlchemy",
    ],
    scripts = ["start-videostore.py"],
    zip_safe=False,
    packages=find_packages(),
    package_data = find_package_data(where='videostore',
                                     package='videostore'),
    keywords = [
        # Use keywords if you'll be adding your package to the
        # Python Cheeseshop

        # if this has widgets, uncomment the next line
        # 'turbogears.widgets',

        # if this has a tg-admin command, uncomment the next line
        # 'turbogears.command',

        # if this has identity providers, uncomment the next line
        # 'turbogears.identity.provider',

        # If this is a template plugin, uncomment the next line
        # 'python.templating.engines',
示例#28
0
 name="BandRadar",
 version=version,
 
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = ["TurboGears >= 0.9a5"],
 scripts = ["start-bandradar.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='bandradar',
                                  package='bandradar'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#29
0
        download_url=DOWNLOAD_URL,
        license=LICENSE,
        install_requires = [
            'TurboGears[future] >= 1.0',
            'TurboMail',
            'python_fedora >= 0.3.12',
            'SQLAlchemy >= 0.5.5, < 0.7',
            # Doesn't use setuptools so not on RHEL5
            #'python_bugzilla >= 0.5',
        ],
        scripts = ['start-pkgdb', 'pkgdb.wsgi', 'clients/pkgdb-client',
            'server-scripts/pkgdb-sync-yum',
            'server-scripts/pkgdb-sync-bugzilla'],
        zip_safe=False,
        packages=find_packages(),
        package_data = find_package_data(where='pkgdb',
            package='pkgdb'),
        keywords = [
            # Use keywords if you'll be adding your package to the
            # Python Cheeseshop

            # if this has widgets, uncomment the next line
            # 'turbogears.widgets',
            # if this has a tg-admin command, uncomment the next line
            # 'turbogears.command',
            'turbogears.app',
        ],
        message_extractors = {
            'pkgdb': [('**.py', 'python', None),
                ('templates/**.html', 'genshi', None),],
            },
        classifiers = [
示例#30
0
# Copyright L.P.Klyne 2013 
# Licenced under 3 clause BSD licence 

from setuptools import setup, find_packages
from turbogears.finddata import find_package_data, standard_exclude

#subpackages = ["events", "wbcnf", "WebBrick", "images"]
subpackages = ["events", "Gateway", "wbcnf", "WebBrick", "Images", "eventinterfaces", "css", "samples", "AppNotes"]

#wb_packages = find_packages()
wb_packages = find_packages() + subpackages

my_exclude = ('*.py', '*.pyc', '*~', '.*', '*.bak', '*.xhtml', '*.lore', '*.tex', '*.doc' )

wb_package_data = find_package_data(where='WebBrickDoc', package='WebBrickDoc', exclude=my_exclude)
#wb_resource_data = find_package_data(where="Gateway", package="Gateway", exclude=my_exclude )
#wb_package_data.update(wb_resource_data)

for sp in subpackages:
    wb_resource_data = find_package_data(where=sp, package=sp, exclude=my_exclude )
    wb_package_data.update(wb_resource_data)

print "wb_packages %s" % (wb_packages)
print "wb_package_data %s" % (wb_package_data)

setup(
    name="WebBrickDoc",
    version="2.0",
    
    description="Webbrick Documentation",
    long_description="""This egg contains documentation resources.""",
示例#31
0
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 author=author,
 author_email=email,
 copyright=copyright
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 1.0.2.2",
 ],
 scripts = ["start-validator.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='validator',
                                  package='validator'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#32
0
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from setuptools.command.build_py import build_py
from turbogears.finddata import find_package_data

import os

execfile(os.path.join("pethelper", "release.py"))

packages = find_packages()
package_data = find_package_data(where='pethelper',
    package='pethelper')
if os.path.isdir('locales'):
    packages.append('locales')
    package_data.update(find_package_data(where='locales',
        exclude=('*.po',), only_in_packages=False))

class build_py_and_kid(build_py):
    """Build pure Python modules and Kid templates."""

    def byte_compile(self, files):
        """Byte-compile all Python modules and all Kid templates."""
        build_py.byte_compile(self, files)
        kid_files = [f for f in files if f.endswith('.kid')]
        if not kid_files:
            return
        from distutils import log
        try:
            from kid.compiler import compile_file
        except ImportError:
示例#33
0
        "python_fedora >= 0.3.12",
        "SQLAlchemy >= 0.5.5, < 0.7",
    ],
    scripts=[
        "start-pkgdb",
        "pkgdb.wsgi",
        "server-scripts/pkgdb-sync-yum",
        "server-scripts/pkgdb-sync-bugzilla",
        "clients/pkgdb-client",
    ],
    # Note: these need to be installed somewhere in the data directory so that
    # the end user can upgrade the db "update-schema/pkgdb-0.3.10-0.3.11.py"
    # "update-schema/*"
    zip_safe=False,
    packages=find_packages(),
    package_data=find_package_data(where='pkgdb', package='pkgdb'),
    keywords=[
        # Use keywords if you'll be adding your package to the
        # Python Cheeseshop

        # if this has widgets, uncomment the next line
        # 'turbogears.widgets',

        # if this has a tg-admin command, uncomment the next line
        # 'turbogears.command',

        # if this has identity providers, uncomment the next line
        # 'turbogears.identity.provider',

        # If this is a template plugin, uncomment the next line
        # 'python.templating.engines',
示例#34
0
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from turbogears.finddata import find_package_data

import os
execfile(os.path.join("micropolis", "release.py"))

packages=find_packages()
package_data = find_package_data(where='micropolis',
    package='micropolis')
if os.path.isdir('locales'):
    packages.append('locales')
    package_data.update(find_package_data(where='locales',
        exclude=('*.po',), only_in_packages=False))

setup(
    name="micropolis",
    version=version,
    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,

    install_requires=[
        "TurboGears >= 1.1b1",
        "WebTest",
        "SQLAlchemy>=0.4.0",
示例#35
0
 
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 1.0.2.2",
 ],
 scripts = ["start-wiki.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='wiki',
                                  package='wiki'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#36
0
文件: setup.py 项目: agoodno/python
from setuptools import setup, find_packages
from turbogears.finddata import find_package_data

setup(
    name="albumweb",
    version="1.0",
    #description="",
    #author="",
    #author_email="",
    #url="",
    install_requires = ["TurboGears >= 0.8a6"],
    scripts = ["albumweb-start.py"],
    zip_safe=False,
    packages=find_packages(),
    package_data = find_package_data(where='albumweb',
                                     package='albumweb'),
    )
    
示例#37
0
                [console_scripts]
                mirrormanager-start = mirrormanager.commands:start
 """,
 install_requires = [
     "TurboGears >= 1.0b1",
     "IPy",
     "dnspython",
     "pygeoip",
     "SQLObject",
     "python_fedora >= 0.3.14",
     "radix",
 ],
 scripts = ["start-mirrormanager.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='mirrormanager',
                                  package='mirrormanager'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#38
0
 
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 1.0b2",
 ],
 scripts = ["start-hardware.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='hardware',
                                  package='hardware'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#39
0
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 1.0b1",
     "SQLAlchemy",
     #"SilverCity" #CURRENTLY BROKEN
 ],
 scripts = ["start-stickum.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='stickum',
                                  package='stickum'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#40
0
文件: setup.py 项目: idiles/dragonfly
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from turbogears.finddata import find_package_data

import os
execfile(os.path.join("dragonfly", "release.py"))

packages=find_packages()
package_data = find_package_data(where='dragonfly',
    package='dragonfly')
if os.path.isdir('locales'):
    packages.append('locales')
    package_data.update(find_package_data(where='locales',
        exclude=('*.po',), only_in_packages=False))

setup(
    name="Dragonfly",
    version=version,
    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,

    install_requires=[
        "TurboGears >= 1.0.4.4",
        "SQLAlchemy>=0.3.10",
        "Elixir>=0.4.0",
示例#41
0
文件: setup.py 项目: xenyou/tg-blog
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from setuptools.command.build_py import build_py
from turbogears.finddata import find_package_data

import os

execfile(os.path.join("miniascaper2", "release.py"))

packages = find_packages()
package_data = find_package_data(where='miniascaper2',
    package='miniascaper2')
if os.path.isdir('locales'):
    packages.append('locales')
    package_data.update(find_package_data(where='locales',
        exclude=('*.po',), only_in_packages=False))

class build_py_and_kid(build_py):
    """Build pure Python modules and Kid templates."""

    def byte_compile(self, files):
        """Byte-compile all Python modules and all Kid templates."""
        build_py.byte_compile(self, files)
        kid_files = [f for f in files if f.endswith('.kid')]
        if not kid_files:
            return
        from distutils import log
        try:
            from kid.compiler import compile_file
        except ImportError:
示例#42
0
文件: setup.py 项目: griels/pypy-sc
    url="http://codespeak.net/pypy",
    download_url="http://codespeak.net/~ericvrp/rpython2javascript/",
    license="MIT",
    install_requires=[
        "TurboGears >= 0.9a6",
    ],

    #scripts = [
    #    "start-topl.py"
    #],
    zip_safe=False,
    packages=find_packages(),
    package_data=find_package_data(
        where='rpython2javascript',
        package='rpython2javascript',
        only_in_packages=False,
        exclude=
        '*.pyc *~ .* *.bak *.png *.gif *.jpg *.dot *.pdf *.txt *.html *.log *.graffle *.dump *.rdf *.ttf'
        .split()),
    entry_points="""
        [turbogears.command]
        js = rpython2javascript.pypy.translator.js.turbogears.commandjs:JsCommand
    
        [python.templating.engines]
        asjavascript = rpython2javascript.pypy.translator.js.turbogears.templateplugin:TemplatePlugin

        [turbogears.widgets]
        RPyJSSource = rpython2javascript.pypy.translator.js.turbogears.widgets
        """,

    #keywords = [
示例#43
0
    version=version,

    # uncomment the following lines if you fill them out in release.py
    #description=description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    #license=license,
    install_requires=[
        "TurboGears >= 1.0.2.2",
    ],
    scripts=["start-infoshopkeeperonline.py"],
    zip_safe=False,
    packages=find_packages(),
    package_data=find_package_data(where='infoshopkeeperonline',
                                   package='infoshopkeeperonline'),
    keywords=[
        # Use keywords if you'll be adding your package to the
        # Python Cheeseshop

        # if this has widgets, uncomment the next line
        # 'turbogears.widgets',

        # if this has a tg-admin command, uncomment the next line
        # 'turbogears.command',

        # if this has identity providers, uncomment the next line
        # 'turbogears.identity.provider',

        # If this is a template plugin, uncomment the next line
        # 'python.templating.engines',
示例#44
0
 
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 0.9a7",
 ],
 scripts = ["start-mesa.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='mesa',
                                  package='mesa'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#45
0
文件: setup.py 项目: kazutomi/xiphqt
 
 # uncomment the following lines if you fill them out in release.py
 #description=description,
 #author=author,
 #author_email=email,
 #url=url,
 #download_url=download_url,
 #license=license,
 
 install_requires = [
     "TurboGears >= 1.0.2.2",
 ],
 scripts = ["start-icebreaker.py"],
 zip_safe=False,
 packages=find_packages(),
 package_data = find_package_data(where='icebreaker',
                                  package='icebreaker'),
 keywords = [
     # Use keywords if you'll be adding your package to the
     # Python Cheeseshop
     
     # if this has widgets, uncomment the next line
     # 'turbogears.widgets',
     
     # if this has a tg-admin command, uncomment the next line
     # 'turbogears.command',
     
     # if this has identity providers, uncomment the next line
     # 'turbogears.identity.provider',
 
     # If this is a template plugin, uncomment the next line
     # 'python.templating.engines',
示例#46
0
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from turbogears.finddata import find_package_data

import os
execfile(os.path.join("funcweb", "release.py"))

packages=find_packages()
package_data = find_package_data(where='funcweb',
    package='funcweb')
if os.path.isdir('locales'):
    packages.append('locales')
    package_data.update(find_package_data(where='locales',
        exclude=('*.po',), only_in_packages=False))

#adding to the virtual part of the apache
etcpath    = "/etc/httpd/conf.d"
#having a manual part for funcweb may add more things there in the future
self_etcpath    = "/etc/funcweb"
#the init path for starting and stoping the server !
initpath = "/etc/init.d"
#the log path
logpath = "/var/log/funcweb"
rotpath = "/etc/logrotate.d"
#the pam path
pampath = "/etc/pam.d/"

#the setup part
setup(
    name="funcweb",
示例#47
0
setup(
    name="TurboJinja",
    #version=version,

    ## uncomment the following lines if you fill them out in release.py
    #description=description,
    #long_description=long_description,
    #author=author,
    #author_email=email,
    #url=url,
    #download_url=download_url,
    license=license,
    install_requires=["TurboGears >= 0.9", "Jinja2 >= 2.7"],
    zip_safe=False,
    packages=find_packages(),
    package_data=find_package_data(where='turbojinja', package='turbojinja'),
    keywords=[
        # Use keywords if you'll be adding your package to the
        # Python Cheeseshop

        # if this has widgets, uncomment the next line
        #'turbogears.widgets',

        # if this has a tg-admin command, uncomment the next line
        # 'turbogears.command',

        # if this has identity providers, uncomment the next line
        # 'turbogears.identity.provider',

        # If this is a template plugin, uncomment the next line
        'python.templating.engines',