コード例 #1
0
ファイル: setup.py プロジェクト: mwh/git-cola
def _run_setup():
    """Runs distutils.setup()"""

    scripts = [
        'bin/git-cola',
        'bin/git-dag',
    ]

    if sys.platform == 'win32':
        scripts.extend([
                'win32/cola',
                'win32/dirname',
                'win32/py2exe-setup.py',
                'win32/py2exe-setup.cmd',
        ])

    setup(name = 'git-cola',
          version = version.version(),
          description = 'The highly caffeinated git GUI',
          license = 'GPLv2',
          author = 'The git-cola community',
          author_email = '*****@*****.**',
          url = 'http://git-cola.github.com/',
          long_description = 'A sleek and powerful git GUI',
          scripts = scripts,
          cmdclass = cmdclass,
          data_files = cola_data_files())
コード例 #2
0
ファイル: setup.py プロジェクト: krmaxwell/megahal
def main():
    from distutils.core import setup

    setup(name='megahal',
          author='Chris Jones',
          author_email='*****@*****.**',
          url='http://gruntle.org/projects/python/megahal/',
          description='Python implementation of megahal markov bot',
          license='BSD',
          version='0.2',
          py_modules=['megahal'],
          scripts=['scripts/megahal'],

          # http://pypi.python.org/pypi?%3Aaction=list_classifiers
          classifiers=[
              'Development Status :: 4 - Beta',
              'Environment :: Console',
              'Intended Audience :: Developers',
              'License :: OSI Approved :: BSD License',
              'Natural Language :: English',
              'Operating System :: OS Independent',
              'Programming Language :: Python :: 2.6',
              'Topic :: Education',
              'Topic :: Scientific/Engineering :: Artificial Intelligence',
              'Topic :: Software Development :: Libraries :: Python Modules'])

    return 0
コード例 #3
0
ファイル: setups.py プロジェクト: ossobv/pstore
def setup_django_pstore():
    # Assert that our custom module finder is used.
    global EXCLUDE_FILES_HACK
    EXCLUDE_FILES_HACK = False

    setup(
        name='django-pstore',
        packages=['pstore'],
        package_data={'pstore': [
            'lgpl-3.0.txt',
            '*.template',
            'fixtures/*',
            'templates/*.html',
        ]},
        install_requires=['Django>=1.3,<1.5', 'pstore'],

        description='Python Protected Password Store server application',
        keywords='password encrypted sharing cli',
        **defaults
    )

    if not EXCLUDE_FILES_HACK:
        import sys
        if sys.argv == ['setup.py', 'register']:
            pass
        else:
            raise RuntimeError('Included local settings! Aborting!')
コード例 #4
0
ファイル: setup.py プロジェクト: AvidehST/freeipa
def setup_package():

    from distutils.core import setup

    old_path = os.getcwd()
    local_path = os.path.dirname(os.path.abspath(sys.argv[0]))
    os.chdir(local_path)
    sys.path.insert(0,local_path)

    try:
        setup(
            name = "ipa-client",
            version = "0.99.0",
            license = "GPL",
            author = "Simo Sorce",
            author_email = "*****@*****.**",
            maintainer = "freeIPA Developers",
            maintainer_email = "*****@*****.**",
            url = "http://www.freeipa.org/",
            description = DOCLINES[0],
            long_description = "\n".join(DOCLINES[2:]),
            download_url = "http://www.freeipa.org/page/Downloads",
            classifiers=filter(None, CLASSIFIERS.split('\n')),
            platforms = ["Linux"],
            py_modules=['ipachangeconf']
        )
    finally:
        del sys.path[0]
        os.chdir(old_path)
    return
コード例 #5
0
ファイル: setup.py プロジェクト: guonairong/hfcca
def install():
    try:
        long_description = open("README.md").read()
    except:
        long_description = hfcca.__doc__
    setup(
          name = 'hfcca',
          version = hfcca.VERSION,
          description = ''' 
source_analyzer is a simple code complexity source_file_counter without caring about the C/C++ header files.
It can deal with C/C++/Objective C & TNSDL code. It count the NLOC (lines of code without comments), CCN 
(cyclomatic complexity number) and token count of _functions.''',
          long_description =  long_description,
          url = 'https://github.com/terryyin/hfcca',
          classifiers = ['Development Status :: 5 - Production/Stable',
                     'Intended Audience :: Developers',
                     'Intended Audience :: End Users/Desktop',
                     'License :: Freeware',
                     'Operating System :: POSIX',
                     'Operating System :: Microsoft :: Windows',
                     'Operating System :: MacOS :: MacOS X',
                     'Topic :: Software Development :: Quality Assurance',
                     'Programming Language :: Python',
                     'Programming Language :: Python :: 2.6',
                     'Programming Language :: Python :: 2.7',
                     'Programming Language :: Python :: 3.2',
                     'Programming Language :: Python :: 3.3'],
          py_modules = ['hfcca'],
          author = 'Terry Yin',
          author_email = '*****@*****.**',
          scripts=['hfcca']
          )
コード例 #6
0
ファイル: setup-win32.py プロジェクト: alex/llvmpy
def call_setup(llvm_dir, llvm_build_dir):
    incdirs = [os.path.join( llvm_dir, 'include' ),
               os.path.join( llvm_build_dir, 'include') ]
    libdir = os.path.join( llvm_build_dir, 'lib', 'Release' )

    libs_core, objs_core = get_libs_and_objs(libdir)
    std_libs = []

    ext_core = Extension(
        'llvm._core',
        ['llvm/_core.cpp', 'llvm/wrap.cpp', 'llvm/extra.cpp'],
        include_dirs = incdirs,
        library_dirs = [libdir],
        libraries = std_libs + libs_core,
        language = 'c++' )

    setup(
        name='llvm-py',
        version=LLVM_PY_VERSION,
        description='Python Bindings for LLVM',
        author='Mahadevan R',
        author_email='*****@*****.**',
        url='http://www.mdevan.org/llvm-py/',
        packages=['llvm'],
        py_modules = [ 'llvm.core' ],
        ext_modules = [ ext_core ],)
コード例 #7
0
ファイル: _dist.py プロジェクト: mickg10/DARLAB
def setup(pkg, **kw): 
    """ invoke distutils on a given package. 
    """
    if 'install' in sys.argv[1:]:
        print "precompiling greenlet module" 
        try:
            x = py.magic.greenlet()
        except (RuntimeError, ImportError):
            print "could not precompile greenlet module, skipping"

    params = Params(pkg)
    #dump(params)
    source = getattr(pkg, '__pkg__', pkg)
    namelist = list(core.setup_keywords)
    namelist.extend(['packages', 'scripts', 'data_files'])
    for name in namelist: 
        for ns in (source, params): 
            if hasattr(ns, name): 
                kw[name] = getattr(ns, name) 
                break 

    #script_args = sys.argv[1:]
    #if 'install' in script_args: 
    #    script_args = ['--quiet'] + script_args 
    #    #print "installing", py 
    #py.std.pprint.pprint(kw)
    core.setup(**kw)
    if 'install' in sys.argv[1:]:
        addbindir2path()
        x = params._rootdir.join('build')
        if x.check(): 
            print "removing", x
            x.remove()
コード例 #8
0
def main():
    # Default data files
    data_files = [('', ('COPYING', 'style.css', 'StickyNotes.glade',
                    'style_global.css', 'GlobalDialogs.glade',
                    'SettingsCategory.glade')),
                ('/usr/share/applications', ('indicator-stickynotes.desktop',)),
                ('Icons', glob.glob("Icons/*.png"))]
    # Icon themes
    icon_themes = ["hicolor", "ubuntu-mono-dark", "ubuntu-mono-light"]
    for theme in icon_themes:
        data_files.extend([(os.path.join("/usr/share/icons/", theme,
            os.path.relpath(dir, "Icons/" + theme)), [os.path.join(
                dir, file) for file in files])
            for dir, subdirs, files in os.walk("Icons/" + theme) if files])

    setup(name='indicator-stickynotes',
            version='0.4.2',
            description='Sticky Notes AppIndicator',
            author='Umang Varma',
            author_email='*****@*****.**',
            url='https://www.launchpad.net/indicator-stickynotes/',
            packages=['stickynotes',],
            scripts=['indicator-stickynotes.py',],
            data_files=data_files,
            cmdclass={'build': Build, 'install_data': InstallData,
                'build_po': BuildPo, 'clean':Clean},
            long_description="Indicator Stickynotes helps you jot down "
            "thoughts, write lists, and make reminders quickly.")
コード例 #9
0
ファイル: nSetup.py プロジェクト: kevmacal/elementsBalls
 def run(self):
     
     extra_datos = ["resources"]
     extra_datas = []
     copyrights = "Copyright (c) 2013 DiamondGames"
    
     for data in extra_datos:
         if os.path.isdir(data):
             extra_datas.extend(self.find_data_files(data,'*'))
         else:
             extra_datas.append(('.',[data]))
     
     setup( 
            name="ElementBalls",
            version=self.version,
            description="Primera Version del juego",
            author="Kevin M. Calderon B.",
            author_email="*****@*****.**",
            url="nothing",
            license="DG",
            scripts=["main.py"],
            console=["main.py"],
            options={"py2exe": {'optimize': 2,'bundle_files': 3,'compressed': True}},
            zipfile=None,
            data_files = extra_datas
            
            
     
 )
コード例 #10
0
ファイル: setup.py プロジェクト: ilanschnell/llvmpy
def call_setup(llvm_config):

    incdir      = _run(llvm_config + ' --includedir')
    libdir      = _run(llvm_config + ' --libdir')
    std_libs    = [ 'pthread', 'm', 'stdc++', 'LLVM-3.1' ]
    extra_link_args = ["-fPIC"]
    if not ("openbsd" in sys.platform or "freebsd" in sys.platform):
        std_libs.append("dl")
    if "darwin" in sys.platform:
        std_libs.append("ffi")

    ext_core = Extension(
        'llvm._core',
        ['llvm/_core.cpp', 'llvm/wrap.cpp', 'llvm/extra.cpp'],
        define_macros = [
            ('__STDC_CONSTANT_MACROS', None),
            ('__STDC_LIMIT_MACROS', None),
            ('_GNU_SOURCE', None)],
        include_dirs = ['/usr/include', incdir],
        library_dirs = [libdir],
        libraries = std_libs,
        extra_link_args = extra_link_args)

    setup(
        name='llvm-py',
        version=LLVM_PY_VERSION,
        description='Python Bindings for LLVM',
        author='Mahadevan R',
        author_email='*****@*****.**',
        url='http://www.mdevan.org/llvm-py/',
        packages=['llvm'],
        py_modules = [ 'llvm.core' ],
        ext_modules = [ ext_core ],)
コード例 #11
0
ファイル: setup.py プロジェクト: gerpsh/simplejson
def run_setup(with_binary):
    cmdclass = dict(test=TestCommand)
    if with_binary:
        kw = dict(
            ext_modules = [
                Extension("simplejson._speedups", ["simplejson/_speedups.c"]),
            ],
            cmdclass=dict(cmdclass, build_ext=ve_build_ext),
        )
    else:
        kw = dict(cmdclass=cmdclass)

    setup(
        name="simplejson",
        version=VERSION,
        description=DESCRIPTION,
        long_description=LONG_DESCRIPTION,
        classifiers=CLASSIFIERS,
        author="Bob Ippolito",
        author_email="*****@*****.**",
        url="http://github.com/simplejson/simplejson",
        license="MIT License",
        packages=['simplejson', 'simplejson.tests'],
        platforms=['any'],
        **kw)
コード例 #12
0
ファイル: setup.py プロジェクト: BackupTheBerlios/wsjt-svn
def wsjt_install(install):
#
# In a true python environment, Audio.so would be compiled from python
# I'm doing a nasty hack here to support our hybrid build system -db
#
	if install == 1:
	    os.makedirs('build/lib/WsjtMod')
	    copy_file('WsjtMod/Audio.so', 'build/lib/WsjtMod')
	setup(name='Wsjt',
	version=version,
	description='Wsjt Python Module for Weak Signal detection',
	long_description='''
WSJT is a computer program designed to facilitate Amateur Radio
communication under extreme weak-signal conditions.  Three very
different coding and modulation methods are provided: one for
communication by "meteor scatter" techniques on the VHF bands; one for
meteor and ionospheric scatter, primarily on the 6 meter band; and one
for the very challenging EME (Earth-Moon-Earth) path.
''',
	author='Joe Taylor',
	author_email='*****@*****.**',
	license='GPL',
	url='http://physics.princeton.edu/pulsar/K1JT',
	scripts=['wsjt','wsjt.py'],
	packages=['WsjtMod'],
	)
コード例 #13
0
ファイル: setup.py プロジェクト: mildmojo/caffeine-plus
def main():

    SHARE_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)),
            "share")

    data_files = []

    # don't trash the system icons!
    black_list = ['index.theme']

    for path, dirs, files in os.walk(SHARE_PATH):

        data_files.append(tuple((path.replace(SHARE_PATH,"share", 1),
            [os.path.join(path, file) for file in files if file not in
                black_list])))

    desktop_name = "caffeine-plus.desktop"
    desktop_file = os.path.join("share", "applications", desktop_name)
    autostart_dir = os.path.join("etc", "xdg", "autostart")
    if not os.path.exists(autostart_dir):
        os.makedirs(autostart_dir)
    shutil.copy(desktop_file, autostart_dir)
    data_files.append(tuple(("/" + autostart_dir, [os.path.join(autostart_dir, desktop_name)])))

    setup(name="caffeine-plus",
        version="2.7.4",
        description="""Stop the desktop from becoming idle in full-screen mode.""",
        author="The Caffeine Developers",
        author_email="*****@*****.**",
        url="https://launchpad.net/caffeine",
        py_modules=["ewmh"],
        data_files=data_files,
        scripts=["caffeine-plus"]
        )
コード例 #14
0
ファイル: setup.py プロジェクト: tylert/chirp.hg
def default_build():
    from distutils.core import setup
    from glob import glob

    os.system("make -C locale clean all")

    desktop_files = glob("share/*.desktop")
    # form_files = glob("forms/*.x?l")
    image_files = glob("images/*")
    _locale_files = glob("locale/*/LC_MESSAGES/CHIRP.mo")
    stock_configs = glob("stock_configs/*")

    locale_files = []
    for f in _locale_files:
        locale_files.append(("share/chirp/%s" % os.path.dirname(f), [f]))

    print "LOC: %s" % str(locale_files)

    xsd_files = glob("chirp*.xsd")

    setup(
        name="chirp",
        packages=["chirp", "chirp.drivers", "chirp.ui"],
        version=CHIRP_VERSION,
        scripts=["chirpw", "rpttool"],
        data_files=[('share/applications', desktop_files),
                    ('share/chirp/images', image_files),
                    ('share/chirp', xsd_files),
                    ('share/doc/chirp', ['COPYING']),
                    ('share/pixmaps', ['share/chirp.png']),
                    ('share/man/man1', ["share/chirpw.1"]),
                    ('share/chirp/stock_configs', stock_configs),
                    ] + locale_files)
コード例 #15
0
ファイル: setup.py プロジェクト: Mantish/django-pretty-times
def do_setup():
    setup(
        name="django-pretty-times",
        version=VERSION,
        author="imtapps",
        author_email="*****@*****.**",
        description="pretty_times provides django template helpers for the py-pretty library.",
        long_description=open('README.txt', 'r').read(),
        url="http://github.com/imtapps/django-pretty-times",
        packages=find_packages(exclude=['example']),
        install_requires=REQUIREMENTS,
        tests_require=TEST_REQUIREMENTS,
        test_suite='runtests.runtests',
        zip_safe=False,
        classifiers = [
            "Development Status :: 3 - Alpha",
            "Environment :: Web Environment",
            "Framework :: Django",
            "Intended Audience :: Developers",
            "License :: OSI Approved :: BSD License",
            "Operating System :: OS Independent",
            "Programming Language :: Python",
            "Topic :: Software Development",
            "Topic :: Software Development :: Libraries :: Application Frameworks",
        ],
        cmdclass={
            'install_dev': InstallDependencies,
            'uninstall_dev': UninstallDependencies,
        }
    )
コード例 #16
0
ファイル: setup.py プロジェクト: ofirENS/Utils
def main():
    if float(sys.version[:3])<2.6 or float(sys.version[:3])>=2.8:
        sys.stderr.write("CRITICAL: Python version must be 2.6 or 2.7!\n")
        sys.exit(1)

    setup(name="MACS",
          version="1.4.4",
          description="Model Based Analysis for ChIP-Seq data",
          author='Yong Zhang; Tao (Foo) Liu',
          author_email='[email protected]; [email protected]',
          url='http://liulab.dfci.harvard.edu/MACS/',
          package_dir={'MACS1' : 'lib'},
          packages=['MACS1', 'MACS1.IO'],
          scripts=['bin/macs','bin/elandmulti2bed','bin/elandresult2bed','bin/elandexport2bed',
                   'bin/sam2bed','bin/wignorm'],
          console=['bin/macs'],
          app    =['bin/macs'],
          classifiers=[
              'Development Status :: 5 - Production/Stable',
              'Environment :: Console',
              'Intended Audience :: Developers',
              'License :: OSI Approved :: Artistic License',
              'Operating System :: MacOS :: MacOS X',
              'Operating System :: Microsoft :: Windows',
              'Operating System :: POSIX',
              'Programming Language :: Python',
              ],
          )
コード例 #17
0
ファイル: setup.py プロジェクト: czchen/czchen-dl
def main():
    with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
        long_description = f.read()

    install_reqs = parse_requirements(os.path.join(os.path.dirname(__file__), 'requirements.txt'))

    setup(
        name='czchen-dl',
        version='0.0.0',
        author='ChangZhuo Chen (陳昌倬)',
        author_email='*****@*****.**',
        url='https://github.com/czchen/czchen-dl.git',
        description='czchen downloader',
        long_description=long_description,
        packages=[
            'czchendl'
        ],
        install_reqs=install_reqs,
        entry_points={
            'console_scripts': [
                'czchen-dl = czchendl.console:main',
            ],
        },
        classifiers=[
            'Development Status :: 1 - Planning',
            'Environment :: Console',
            'License :: OST Approved :: MIT License',
            'Operating System :: OS Independent',
            'Programming Language :: Python :: 3 :: Only',
            'Programming Language :: Python :: 3.4',
        ]
    )
コード例 #18
0
ファイル: setup.py プロジェクト: sql-sith/caffeine
def main():

    SHARE_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)),
            "share")

    data_files = []
    
    # don't trash the system icons!
    black_list = ['index.theme', 'index.theme~']

    for path, dirs, files in os.walk(SHARE_PATH):

        data_files.append(tuple((path.replace(SHARE_PATH,"share", 1),
            [os.path.join(path, file) for file in files if file not in
                black_list])))

    desktop_name = "caffeine.desktop"
    desktop_file = os.path.join("share", "applications", desktop_name)
    autostart_dir = os.path.join("etc", "xdg", "autostart")
    if not os.path.exists(autostart_dir):
        os.makedirs(autostart_dir)
    shutil.copy(desktop_file, autostart_dir)
    data_files.append(tuple(("/" + autostart_dir, [os.path.join(autostart_dir, desktop_name)])))

    setup(name="caffeine",
        version="2.5",
        description="""A status bar application able to temporarily prevent the activation of both the screensaver and the "sleep" powersaving mode.""",
        author="The Caffeine Developers",
        author_email="*****@*****.**",
        url="https://launchpad.net/caffeine",
        packages=["caffeine"],
        data_files=data_files,
        scripts=[os.path.join("bin", "caffeine")]
        )
コード例 #19
0
ファイル: setup.py プロジェクト: dgmorrison-usgs/PyHum
def setupPackage():
   setup(name='PyHum',
         version=__version__,
         description='Python/Cython scripts to read Humminbird DAT and associated SON files, export data, carry out rudimentary radiometric corrections to data, and classify bed texture using the algorithm detailed in Buscombe, Grams, Smith, "Automated riverbed sediment classification using low-cost sidescan sonar", forthcoming.',
         #long_description=long_description,
         classifiers=[
             'Intended Audience :: Science/Research',
             'Intended Audience :: Developers',
             'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
             'Programming Language :: Python',
             'Programming Language :: Python :: 2.7',
             'Programming Language :: Cython',
             'Topic :: Scientific/Engineering',
             'Topic :: Scientific/Engineering :: Physics',
         ],
         keywords='sidescan sonar humminbird sediment substrate classification',
         author='Daniel Buscombe',
         author_email='*****@*****.**',
         url='https://github.com/dbuscombe-usgs/PyHum',
         download_url ='https://github.com/dbuscombe-usgs/PyHum/archive/master.zip',
         install_requires=install_requires,
         license = "GNU GENERAL PUBLIC LICENSE v3",
         packages=['PyHum'],
         cmdclass = cmdclass,
         ext_modules=ext_modules,
         platforms='OS Independent',
         package_data={'PyHum': ['*.SON', '*.DAT','*.h']}
   )
コード例 #20
0
ファイル: setup.py プロジェクト: dustin999/pomodoro-indicator
def main():

    SHARE_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)),
            "share")

    data_files = []

    # don't trash the users system icons!!
    black_list = ['index.theme', 'index.theme~']

    for path, dirs, files in os.walk(SHARE_PATH):
        data_files.append(tuple((path.replace(SHARE_PATH,"share", 1),
            [os.path.join(path, file) for file in files if file not in
                black_list])))

    setup(
        name = PROJECTNAME,
        version = '0.0.2',
        license = 'GPL-3',
        author = 'The Pomodoro Developers',
        author_email = '*****@*****.**',
        description = 'Pomodoro technique app indicator.',
        long_description = 'Pomodoro technique app indicator',
        url = 'https://launchpad.net/pomodoro-indicator',

        packages = ["pomodoro"],
        #package_data = {"pomodoro": ["images/*.png", ]},
        data_files = data_files,
        scripts = [os.path.join("bin","pomodoro-indicator")],

        cmdclass = {
            'install': CustomInstall
        }
    )
コード例 #21
0
ファイル: setup.py プロジェクト: diploidgenomics/crossmap
def main():
	setup(  name = "CrossMap",
            version = "0.2.1",
            py_modules = [ 'psyco_full' ],
            packages = find_packages( 'lib' ),
            package_dir = { '': 'lib' },
            package_data = { '': ['*.ps'] },
            scripts = glob.glob( "bin/*.py"),
            ext_modules = get_extension_modules(),
            test_suite = 'nose.collector',
            setup_requires = ['nose>=0.10.4','cython>=0.12'],
            author = "Liguo Wang",
			author_email ="*****@*****.**",
			platforms = ['Linux','MacOS'],
			requires = ['cython (>=0.17)'],
			install_requires = ['cython>=0.17',], 
            description = " Lift over genomics coordinates between assemblies",
            url = "http://crossmap.sourceforge.net/",
            zip_safe = False,
            dependency_links = [],
			classifiers=[
              'Development Status :: 1 - productive',
              'Environment :: Console',
              'Intended Audience :: Developers',
              'License :: GPL',
              'Operating System :: MacOS :: MacOS X',
              'Operating System :: POSIX',
              'Programming Language :: Python',
              ],

            cmdclass=cmdclass )
コード例 #22
0
    def build_cx_freeze(self, cleanup=True, create_archive=None):
        """Build executable with cx_Freeze

        cleanup: remove 'build/dist' directories before building distribution

        create_archive (requires the executable `zip`):
            * None or False: do nothing
            * 'add': add target directory to a ZIP archive
            * 'move': move target directory to a ZIP archive
        """
        assert not self._py2exe_is_loaded, \
               "cx_Freeze can't be executed after py2exe"
        from cx_Freeze import setup
        if cleanup:
            self.__cleanup()
        sys.argv += ["build"]
        build_exe = dict(include_files=to_include_files(self.data_files),
                         includes=self.includes, excludes=self.excludes,
                         bin_excludes=self.bin_excludes,
                         bin_includes=self.bin_includes,
                         bin_path_includes=self.bin_path_includes,
                         bin_path_excludes=self.bin_path_excludes,
                         build_exe=self.target_dir)
        setup(name=self.name, version=self.version,
              description=self.description, executables=self.executables,
              options=dict(build_exe=build_exe))
        if create_archive:
            self.__create_archive(create_archive)
コード例 #23
0
ファイル: setup_exe.py プロジェクト: Gamer125/fofix
def setupWindows():
  setup(version = Version.version(),
        description = "Rockin' it Oldskool!",
        name = "Frets on Fire",
        url = "http://www.unrealvoodoo.org",
        windows = [
          {
            "script":          "FretsOnFire.py",
            "icon_resources":  [(1, "fof.ico")],
            "other_resources": [(RT_VERSION, 1, VersionResource(
              #stump: the parameter below must consist only of up to four numerical fields separated by dots
              fullVersionString[7:12],  # extract "x.yyy" from "FoFiX vx.yyy ..."
              file_description="Frets on Fire X",
              legal_copyright=r"© 2008-2009 FoFiX Team.  GNU GPL v2 or later.",
              company_name="FoFiX Team",
              internal_name="FretsOnFire.exe",
              original_filename="FretsOnFire.exe",
              product_name="FoFiX",
              #stump: when run from the exe, FoFiX will claim to be "FoFiX v" + product_version
              product_version=fullVersionString[7:]  # remove "FoFiX v" from front
            ).resource_bytes())]
          }
        ],
        zipfile = "data/library.zip",
        data_files = dataFiles,
        options = options)
コード例 #24
0
ファイル: setup_ccsm.py プロジェクト: dillonhicks/ipymake
def run_distutils():
    """Executes the distutils code to build and install
    the pyccsm wrappers."""
    from distutils.core import setup, Extension

    source_dir = os.getcwd()
    build_dir = Params.cmake_binary_dir
    
    ccsm_module = Extension('_ccsm',
                               sources= [source_dir+'/libccsm/ccsm_wrap.c', 
                                        source_dir+'/libccsm/ccsm.c'],
                               include_dirs = [source_dir+'/include'],
                               libraries = ['ccsm'],
                               library_dirs = [build_dir],                           
                               
                               )
    
    
    
    setup(name='pyccsm',
          version='1.0',
          description="CCSM Python API bindings.",
          url='http://www.ittc.ku.edu/kusp',
          package_dir={'': '.'},
          include_dirs = [build_dir+'/include'],
          ext_modules = [ccsm_module],
          py_modules = ['ccsmapi'],
          scripts = ['tools/ccsmsh'],
          packages=['pyccsm', 'pyccsm.ccsmconsole']
         )
    pass
コード例 #25
0
def main():
    data_files = [('Microsoft.VC90.CRT', glob(r'D:\Program Files\Microsoft.VC90.CRT\*.*')), \
                  ('sdl_dll', glob(r'sdl_dll\*.*')), \
                  ('resources', glob(r'resources\*.*')), \
                  ('Data', glob(r'data\*.*'))]
    
    setup(console=[{'script': 'probedrecallNcontextrecall.py', 'icon_resources': [(1, 'RESOURCES\\uzh2.ico')]}], data_files = data_files)
コード例 #26
0
ファイル: setup.py プロジェクト: msingh05/rtclite
def invoke_setup(data_files=None):
    data_files_file, data_files_file_created = "data_files", False
    try:
        if data_files: # Save the value of data_files with the distribution archive
            data_files_file_created = True
            with open(data_files_file, "wb") as fl:
                dump(data_files, fl)
            data_files.append(('', [data_files_file]),)
        else: # Load data_files from the distribution archive, if present
            try:
                with open(data_files_file, "rb") as fl:
                    data_files = load(fl)
            except IOError:
                data_files = []
        data_files.append(('rtclite', ["Makefile", "LICENSE", "README.md"]),)
        packages = [x[0] for x in walk('rtclite') if path.exists(x[0] + '/__init__.py')]
        setup(name=NAME, version=VERSION,
              description="Light weight implementations of real-time communication protocols and applications in Python",
              author="Kundan Singh", author_email="*****@*****.**",
              url="https://github.com/theintencity/rtclite", license="LICENSE",
              long_description=open("README.md").read(),
              packages=packages, package_data={"std": ["specs/*"]},
              data_files=data_files)
    finally:
        if data_files_file_created:
            try:
                remove(data_files_file)
            except OSError:
                pass
コード例 #27
0
def install():
    try:
        long_description = open("README.rst").read()
    except:
        long_description = translate.__doc__
    setup(
          name = 'translate',
          version = "1.0.8",
          description = translate.__doc__,
          long_description = long_description,
          url = 'https://github.com/terryyin/google-translate-python',
          classifiers = ['Development Status :: 5 - Production/Stable',
                     'Intended Audience :: Education',
                     'Intended Audience :: End Users/Desktop',
                     'License :: Freeware',
                     'Operating System :: POSIX',
                     'Operating System :: Microsoft :: Windows',
                     'Operating System :: MacOS :: MacOS X',
                     'Topic :: Education',
                     'Programming Language :: Python',
                     'Programming Language :: Python :: 2.6',
                     'Programming Language :: Python :: 2.7',
                     'Programming Language :: Python :: 3.2',
                     'Programming Language :: Python :: 3.3',
                     'Programming Language :: Python :: 3.4'],
          py_modules = ['translate'],
          author = 'Terry Yin',
          author_email = '*****@*****.**',
          scripts=['translate']
          )
コード例 #28
0
    def build_py2exe(self, cleanup=True, compressed=2, optimize=2,
                     company_name=None, copyright=None, create_archive=None):
        """Build executable with py2exe

        cleanup: remove 'build/dist' directories before building distribution

        create_archive (requires the executable `zip`):
            * None or False: do nothing
            * 'add': add target directory to a ZIP archive
            * 'move': move target directory to a ZIP archive
        """
        from distutils.core import setup
        import py2exe  # Patching distutils -- analysis:ignore
        self._py2exe_is_loaded = True
        if cleanup:
            self.__cleanup()
        sys.argv += ["py2exe"]
        options = dict(compressed=compressed, optimize=optimize,
                       includes=self.includes, excludes=self.excludes,
                       dll_excludes=self.bin_excludes,
                       dist_dir=self.target_dir)
        windows = dict(name=self.name, description=self.description,
                       script=self.script, icon_resources=[(0, self.icon)],
                       bitmap_resources=[], other_resources=[],
                       dest_base=osp.splitext(self.target_name)[0],
                       version=self.version,
                       company_name=company_name, copyright=copyright)
        setup(data_files=self.data_files, windows=[windows,],
              options=dict(py2exe=options))
        if create_archive:
            self.__create_archive(create_archive)
コード例 #29
0
ファイル: setup.py プロジェクト: marklogic/newrelic-plugin
def main():
    base_dir = dirname(__file__)
    setup(
        base_dir=dirname(__file__),
        name='newrelic_marklogic_plugin',
        description='NewRelic plugin for monitoring MarkLogic.',
        long_description=open(join(base_dir, 'README.rst'), encoding='utf-8').read(),
        version='0.2.8',
        packages=find_packages(),
        url='https://github.com/marklogic-community/newrelic-plugin',
        license=open(join(base_dir, 'LICENSE'), encoding='utf-8').read(),
        author='James Fuller',
        author_email='*****@*****.**',
        classifiers=['Programming Language :: Python',
                     'Development Status :: 3 - Alpha',
                     'Natural Language :: English',
                     'Environment :: Console',
                     'Intended Audience :: Developers',
                     'License :: OSI Approved :: Apache Software License',
                     'Operating System :: OS Independent',
                     'Topic :: Software Development :: Libraries :: Python Modules'
                     ],
        scripts = [
            'scripts/newrelic_marklogic.py'
        ],
        platforms='any',
        install_requires=[
            'requests>=2.11.1'
        ],
    )
コード例 #30
0
ファイル: setup.py プロジェクト: NicolasRannou/cmp
def main(**extra_args):
    from distutils.core import setup
    from cmp.info import __version__

    # regenerate protoc
    import subprocess

    protofname = os.path.join(os.path.abspath(os.path.dirname(__file__)), "cmp", "pipeline", "pipeline.proto")
    protoout = os.path.join(os.path.abspath(os.path.dirname(__file__)), "cmp", "pipeline")
    protopath = os.path.dirname(protofname)
    cmd = "protoc %s --proto_path=%s --python_out=%s" % (protofname, protopath, protoout)
    print "Calling protoc to generate protobuf python file in current version:"
    print cmd
    process = subprocess.call(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
    print "protoc return code:", process

    setup(
        name="Connectome Mapper",
        version=__version__,
        description="""Connectome Mapper implements a full diffusion MRI processing pipeline, from raw Diffusion/T1/T2 """
        + """data to multi-resolution connection matrices. It also offers support for resting state fMRI data processing and multi-resolution functional connection matrices creation. """
        + """The Connectome Mapper is part of the Connectome Mapping Toolkit.""",
        author="EPFL LTS5 Diffusion Group",
        author_email="*****@*****.**",
        url="http://www.connectomics.org/",
        scripts=glob("scripts/*"),
        packages=packages,
        package_data=package_data,
        **extra_args
    )
コード例 #31
0
from distutils.core import setup
setup(
      name = 'topsis-101703547-simran_kaur',         # How you named your package folder (MyLib)
      packages = ['topsis-101703547-simran_kaur'],   # Chose the same as "name"
      version = '0.1',      # Start with a small number and increase it with every change you make
      license='MIT',        # Chose a license from here: https://help.github.com/articles/licensing-a-repository
      description = 'this is package for topsis',   # Give a short description about your library
      author = 'Simran Kaur',                   # Type in your name
      author_email = '*****@*****.**',      # Type in your E-Mail
      url = 'https://github.com/simrankaur7575/topsis-101703547-simran_kaur',   # Provide either the link to your github or to your website
      download_url = 'https://github.com/simrankaur7575/topsis-101703547-simran_kaur/archive/0.1.tar.gz',    # I explain this later on
      keywords = ['topsis', 'multi-criteria', 'python'],   # Keywords that define your package best
      install_requires=[            # I get to this in a second
                        'numpy',
                        'pandas',
                        ],
      classifiers=[
                   'Development Status :: 3 - Alpha',      # Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
                   'Intended Audience :: Developers',      # Define that your audience are developers
                   'Topic :: Software Development :: Build Tools',
                   'License :: OSI Approved :: MIT License',   # Again, pick a license
                   'Programming Language :: Python :: 3',      #Specify which pyhton versions that you want to support
                   'Programming Language :: Python :: 3.4',
                   'Programming Language :: Python :: 3.5',
                   'Programming Language :: Python :: 3.6',
                   ],
      )
コード例 #32
0
ファイル: setup.py プロジェクト: zdong1/pandana
setup(
    packages=packages,
    name='pandana',
    author='UrbanSim Inc.',
    version=version,
    license='AGPL',
    description=('Pandas Network Analysis - '
                 'dataframes of network queries, quickly'),
    long_description=long_description,
    url='https://udst.github.io/pandana/',
    ext_modules=[Extension(
            'pandana.cyaccess',
            source_files,
            language="c++",
            include_dirs=include_dirs,
            extra_compile_args=extra_compile_args,
            extra_link_args=extra_link_args,
        )],
    install_requires=[
        'matplotlib>=1.3.1',
        'numpy>=1.8.0',
        'pandas>=0.17.0',
        'requests>=2.0',
        'tables>=3.1.0',
        'osmnet>=0.1.2',
        'cython>=0.25.2',
        'scikit-learn>=0.18.1'
    ],
    tests_require=['pytest'],
    cmdclass={
        'test': PyTest,
        'lint': Lint,
        'build_ext': CustomBuildExtCommand,
    },
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.5',
        'License :: OSI Approved :: GNU Affero General Public License v3'
    ],
)
コード例 #33
0
# -*- coding: utf-8 -*-
import os
from distutils.core import setup
from setuptools import find_packages

os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

setup(
    name='django-payu',
    version='0.3.1',
    author=u'Dariusz Aniszewski',
    author_email='*****@*****.**',
    packages=find_packages(),
    url='https://github.com/DariuszAniszewski/django-payu',
    license='TBD',
    description='Minimalistic PayU wrapper.',
    install_requires=['pytz==2015.4', 'six==1.9.0', 'requests==2.7.0'],
    zip_safe=False,
)
コード例 #34
0
ファイル: setup.py プロジェクト: portante/configtools
from distutils.core import setup

setup(name = 'configtools',
      version = '0.3.1',
      description = 'Simple set of tools to read and parse configuration files for use by shell scripts',
      author = 'Nick Dokos',
      author_email = '*****@*****.**',
      url = 'https://github.com/distributed-system/analysis/configtools',
      packages = ['configtools'],
      scripts = ['bin/getconf.py', 'bin/gethosts.py',],
     )
コード例 #35
0
from distutils.core import setup, Extension

module1 = Extension('spam', sources=['spammodule.c'])

setup(name='PackageName',
      version='1.0',
      description="This is a demo package",
      ext_modules=[module1])
コード例 #36
0
ファイル: setup.py プロジェクト: cailen/automoxapi
from distutils.core import setup
from automoxapi import __version__

try:
    with open('README.rst') as f:
        long_description = f.read()
except:
    long_description = 'Thin python wrapper for the Automox API'


setup(
    name='automoxapi_old',
    version=__version__,
    packages=['automoxapi_old'],
    url='https://github.com/CyberTechCafe-LLC/automoxapi_old',
    license='GNU General Public License v3.0',
    author='Rob Adkerson',
    author_email='*****@*****.**',
    description='Thin python wrapper for the Automox API',
    long_description=long_description,
    keywords=['automox', 'api']
)
コード例 #37
0
ファイル: setup.py プロジェクト: vrthra-forks/bytevm
#!/usr/bin/env python

from distutils.core import setup

setup(
    name='Bytevm',
    version='1.0',
    description='Pure-Python Python bytecode execution',
    author='Ned Batchelder',
    author_email='*****@*****.**',
    url='http://github.com/nedbat/bytevm',
    packages=['bytevm'],
    install_requires=['six'],
    )
コード例 #38
0
#!/usr/bin/env python

from distutils.core import setup

setup(name='Simple3D',
      version='0.5.3',
      description='opengl 3d engine',
      author='Li Xiao',
      author_email='*****@*****.**',
      url='https://github.com/57066698/simple3D',
      packages=['simple3D'],
     )
コード例 #39
0
ファイル: setup.py プロジェクト: zqw-hooper/canbus_interface
#!/usr/bin/env python
from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
    packages=['canbus_interface'],
    package_dir={'': 'src'},
    )

setup(**d)

コード例 #40
0
ファイル: setup.py プロジェクト: FlorisHoogenboom/numpy-net
from distutils.core import setup

setup(name='numpynet',
      version='0.1',
      packages=['numpynet'],
      url='',
      license='MIT',
      author='Floris Hoogenboom',
      author_email='*****@*****.**',
      description=
      'A fully functional neural network library completly written in numpy.')
コード例 #41
0
            requires=REQUIRES,
            )

try:
    from distutils.extension import Extension
    from Cython.Distutils import build_ext as build_pyx_ext
    from numpy import get_include
    # add Cython extensions to the setup options
    exts = [ Extension('nitime._utils', ['nitime/_utils.pyx'],
                       include_dirs=[get_include()]) ]
    opts['cmdclass'] = dict(build_ext=build_pyx_ext)
    opts['ext_modules'] = exts
except ImportError:
    # no loop for you!
    pass

# For some commands, use setuptools.  Note that we do NOT list install here!
# If you want a setuptools-enhanced install, just run 'setupegg.py install'
needs_setuptools = set(('develop', ))
if len(needs_setuptools.intersection(sys.argv)) > 0:
    import setuptools

# Only add setuptools-specific flags if the user called for setuptools, but
# otherwise leave it alone
if 'setuptools' in sys.modules:
    opts['zip_safe'] = False

# Now call the actual setup function
if __name__ == '__main__':
    setup(**opts)
コード例 #42
0
ファイル: setup.py プロジェクト: riccardoalfa/tools
from distutils.core import setup
import py2exe

setup(console=['file_mover.py'])
コード例 #43
0
        build_ext.build_extensions(self)


# Parse version
__version__ = re.search(r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
                        open('NonlinearTMM/__init__.py').read()).group(1)

sources = ["NonlinearTMM/src/SecondOrderNLTMM.pyx"] + \
    RemoveMain(glob.glob("NonlinearTMM/src/NonlinearTMMCpp/NonlinearTMMCpp/*.cpp"))

include_dirs = [r"NonlinearTMM/src/NonlinearTMMCpp/NonlinearTMMCpp",
                r"NonlinearTMM/src/eigen_3.3.2",
                numpy.get_include()] + \
                eigency.get_includes(include_eigen = False)

ext = Extension("NonlinearTMM._SecondOrderNLTMMCython",
                sources=sources,
                include_dirs=include_dirs,
                language="c++")

setup(
    name="NonlinearTMM",
    version=__version__,
    author="Ardi Loot",
    url="https://github.com/ardiloot/NonlinearTMM",
    author_email="*****@*****.**",
    packages=["NonlinearTMM"],
    cmdclass={"build_ext": build_ext_subclass},
    ext_modules=[ext],
)
コード例 #44
0
ファイル: setup.py プロジェクト: allanlei/django-saas
def find_packages_in(where, **kwargs):
    return [where] + [
        '%s.%s' % (where, package)
        for package in find_packages(where=where, **kwargs)
    ]


setup(
    name='django-saas',
    version='0.1',
    author='Allan Lei',
    author_email='*****@*****.**',
    description=('SaaS for Django'),
    license='New BSD',
    keywords='saas multidb multischema django',
    url='https://github.com/allanlei/django-saas',
    packages=find_packages_in('saas'),
    long_description=read('README'),
    classifiers=[
        'Development Status :: 3 - Alpha',
        'License :: OSI Approved :: BSD License',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)
コード例 #45
0
from distutils.core import setup

setup(name='PbPython',
      version='0.2.0',
      author='Michael Kunze',
      author_email='*****@*****.**',
      packages=['pb_py'],
      license='LICENSE.txt',
      url="https://developer.pandorabots.com/docs",
      description='Code for making API calls to Pandorabots server.',
      install_requires=[
          "requests >= 2.20.0",
      ])
コード例 #46
0
from distutils.core import setup
import py2exe

setup(console=["disk_warnning.py"])
コード例 #47
0
ファイル: setup.py プロジェクト: djtms/p2pool_sha3keccak
setup(
    name="pysha3",
    version="0.4dev",
    ext_modules=exts,
    py_modules=["sha3"],
    cmdclass={"test": TestCommand},
    author="Christian Heimes",
    author_email="*****@*****.**",
    maintainer="Christian Heimes",
    maintainer_email="*****@*****.**",
    url="https://bitbucket.org/tiran/pykeccak",
    keywords="sha3 sha-3 keccak hash",
    platforms="POSIX, Windows",
    license="PSFL (Keccak: CC0 1.0 Universal)",
    description="SHA-3 (Keccak) for Python 2.6 - 3.4",
    long_description="\n".join(long_description),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: Python Software Foundation License",
        "License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
        "Natural Language :: English",
        "Operating System :: MacOS :: MacOS X",
        "Operating System :: POSIX",
        "Operating System :: POSIX :: AIX",
        "Operating System :: POSIX :: BSD",
        "Operating System :: POSIX :: HP-UX",
        "Operating System :: POSIX :: Linux",
        "Operating System :: POSIX :: SunOS/Solaris",
        "Operating System :: Microsoft :: Windows",
        "Programming Language :: C",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.2",
        "Programming Language :: Python :: 3.3",
        # "Programming Language :: Python :: 3.4",
        "Topic :: Security :: Cryptography",
    ],
)
コード例 #48
0
from distutils.core import setup

setup(
    name='LinkedIn Client Library',
    version='1.0.1',
    author='Aaron Brenzel',
    author_email='*****@*****.**',
    url='12.236.169.60:4830/liclient',
    description='Library for accessing the LinkedIn API in Python',
    packages=['liclient', 'liclient.parsers', 'liclient.oauth2', 'liclient.analysis'],
    license='MIT',
    package_data={'':['*.txt']},
    requires=['httplib2']
)
コード例 #49
0
    def finalize_options(self):
        pass

    def run(self):
        call('python setup.py extract_messages -o cddagl\locale\messages.pot '
             '-F cddagl\locale\mapping.cfg')

        call('python setup.py update_catalog -i cddagl\locale\messages.pot -d '
             'cddagl\locale -D cddagl')


setup(
    name='cddagl',
    version='1.3.21',
    description=(
        'A Cataclysm: Dark Days Ahead launcher with additional features'),
    author='Rémy Roy',
    author_email='*****@*****.**',
    url='https://github.com/remyroy/CDDA-Game-Launcher',
    packages=['cddagl'],
    cmdclass={
        'installer': Installer,
        'exup_messages': ExtractUpdateMessages,
        'compile_catalog': babel.compile_catalog,
        'extract_messages': babel.extract_messages,
        'init_catalog': babel.init_catalog,
        'update_catalog': babel.update_catalog
    },
)
コード例 #50
0
from distutils.core import setup
import py2exe
import sys

# This is the setup file required to generate a windows app wrapper for the crawler script

setup(options={}, console=['crawler.py'])
コード例 #51
0
ファイル: setup.py プロジェクト: hinkson/My-Flixster-Ratings
from distutils.core import setup

setup(
    name = "mfr",
    version = "0.0.1",
    packages = ["mfr"],
    license = "Public Domain",
    author = "Caio Begotti",
    author_email = "*****@*****.**",
    description = "Flixster.com ratings handling module",
    url = "https://github.com/caio1982/My-Flixster-Ratings",
    keywords = ["json", "csv", "movies", "rating", "flixster"]
)
コード例 #52
0
ファイル: setup.py プロジェクト: pombreda/python-keyutils
from distutils.core import setup, Extension

with file('README') as f:
    long_description = ''.join(x
            for x in f
            if x and not x.startswith('#'))

setup(
    name='keyutils',
    version='0.2',
    description='keyutils bindings for Python',
    long_description=long_description,
    author='Mihai Ibanescu',
    author_email='*****@*****.**',
    url='https://github.com/sassoftware/python-keyutils',
    license='Apache 2.0',
    packages=['keyutils'],
    classifiers=[
        "Topic :: Security",
        "Operating System :: POSIX :: Linux",
        ],
    platforms=[
        "Linux",
        ],
    ext_modules=[
        Extension(
            'keyutils._keyutils', ['keyutils/_keyutils.c'], libraries=['keyutils'],
        )
    ],
)
コード例 #53
0
from distutils.core import setup

setup(
    name='dsgrn_net_query',
    package_dir={'':'src'},
    packages = ['dsgrn_net_query',"dsgrn_net_query.queries","dsgrn_net_query.utilities"],
    install_requires=["pandas","mpi4py","progressbar2","DSGRN","min_interval_posets","dsgrn_utilities"],
    author="Bree Cummins",
    url='https://github.com/breecummins/dsgrn_net_query'
    )
コード例 #54
0
ファイル: setup.py プロジェクト: zeta1999/raisimGym
        cfg = 'Debug' if __DEBUG__ else 'Release'
        build_args = ['--config', cfg]

        cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg]
        build_args += ['--', '-j2']

        env = os.environ.copy()
        env['CXXFLAGS'] = '{} -DVERSION_INFO=\\"{}\\"'.format(env.get('CXXFLAGS', ''),
                                                              self.distribution.get_version())
        if not os.path.exists(self.build_temp):
            os.makedirs(self.build_temp)
        subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
        subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)

setup(
    name='raisim_gym',
    version='0.5.0',
    author='Jemin Hwangbo',
    license="MIT",
    packages=find_packages(),
    author_email='*****@*****.**',
    description='gym for raisim.',
    long_description='',
    ext_modules=[CMakeExtension('_raisim_gym')],
    install_requires=['gym>=0.2.3', 'ruamel.yaml', 'numpy', 'stable_baselines==2.8'],
    cmdclass=dict(build_ext=CMakeBuild),
    include_package_data=True,
    zip_safe=False,
)
コード例 #55
0
ファイル: setup.py プロジェクト: edgarholleis/sifter
setup(
    name="sifter",
    version="0.1",
    author="Gary Peck",
    author_email="*****@*****.**",
    url="https://github.com/garyp/sifter",
    license="BSD",
    description="Parser/evaluator for the Sieve filtering language (RFC 5228)",
    long_description=long_description,
    classifiers=[
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "License :: OSI Approved :: BSD License",
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Intended Audience :: System Administrators",
        "Operating System :: OS Independent",
        "Topic :: Communications :: Email :: Filters",
        "Topic :: Software Development :: Interpreters",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    packages=[
        "sifter",
        "sifter.commands",
        "sifter.comparators",
        "sifter.extensions",
        "sifter.grammar",
        "sifter.notificationmethods",
        "sifter.t",
        "sifter.tests",
        "sifter.validators",
    ],
    package_data={
        "sifter.t": ["*.in", "*.out", "*.msg", "*.rules"],
    },
)
コード例 #56
0
from distutils.core import setup
from Cython.Build import cythonize

setup(
  name = 'Great Circle module v1',
  ext_modules = cythonize("great_circle_cy_v1.pyx"),
)
コード例 #57
0
ファイル: setup.py プロジェクト: kernsuite-debian/kapteyn
setup(
   name="kapteyn",
   version=version,
   description=short_descr,
   author='J.P. Terlouw, M.G.R. Vogelaar',
   author_email='*****@*****.**',
   url='http://www.astro.rug.nl/software/kapteyn/',
   download_url = download_url,
   long_description=description,
   platforms = ['Linux', 'Mac OSX', 'Windows'],
   license = 'BSD',
   classifiers = classifiers,
   ext_package='kapteyn',
   ext_modules=[
      Extension(
         "wcs", wcs_src,
          include_dirs=include_dirs,
          define_macros=define_macros
      ),
      Extension(
         "ascarray",
         ["src/ascarray.c"],
         include_dirs=include_dirs
      ),
      Extension(
         "profiles",
         ["src/profiles.c", "src/gauestd.c"],
         include_dirs=include_dirs
      ),
      Extension(
         "_nd_image", _nd_image_src,
         include_dirs=include_dirs
      ),
      Extension(
         "kmpfit",
         ["src/kmpfit.c", "src/mpfit.c"],
         include_dirs=include_dirs
      )
   ],
   package_dir={'kapteyn': 'kapteyn'},
   packages=['kapteyn'],
   package_data={'kapteyn': ['lut/*.lut']},
)
コード例 #58
0
ファイル: setup.py プロジェクト: sycomix/qfpga
from distutils.core import setup

setup(name='QFPGA', packages=['qfpga'])
コード例 #59
0
ファイル: setup.py プロジェクト: meryembel/fac
            extralink.append(a)
        else:
            print('skip python link flag: %s %s'%(a, b))
    
Extensions = [Extension(mod, src, include_dirs=incdir, library_dirs=libdir,
                        libraries=libs, extra_compile_args=extracomp,
                        extra_link_args=extralink)
              for mod, src in (("pfac.fac", ["python/fac.c"]),
                               ("pfac.crm", ["python/pcrm.c"]),
                               ("pfac.pol", ["python/ppol.c"]),
                               ("pfac.util", ["python/util.c"]))]

if (no_setup == 0):
    setup(name="PFAC",
          version=VERSION,
          package_dir={'pfac': 'python'},
          py_modules=['pfac.const', 'pfac.config', 'pfac.table',
                      'pfac.atom', 'pfac.spm', 'pfac.rfac',
                      'pfac.version', 'pfac.consts'],
          ext_modules=Extensions)

if (sys.argv[1][0:5] == 'bdist' and bsfac != ''):
    print('Creating SFAC binary ...')
    c = 'cd sfac; mkdir bin;'
    c += 'cp sfac bin; cp scrm bin; cp spol bin;'
    c += 'tar cvf %s ./bin;'%(bsfac)
    c += 'gzip %s;'%(bsfac)
    c += 'rm -rf bin;'
    c += 'mv %s.gz ../dist/;'%(bsfac)
    os.system(c)
コード例 #60
0
from distutils.core import setup
setup(
    name='mattophobia_says',
    packages=['mattophobia_says'],
    version='0.1.2',
    description='A Mattophobia string generator',
    author='DerpyChap',
    author_email='*****@*****.**',
    url='https://github.com/DerpyChap/mattophobia_says',
    download_url=
    'https://github.com/DerpyChap/mattophobia_says/archive/0.1.2.tar.gz',
    keywords=['mattophobia', 'sentences', 'swearing'],
    classifiers=[],
)