コード例 #1
0
ファイル: setup.py プロジェクト: Erotemic/vtool
TEST_PIP_REQUIRES = [
    'smc.freeimage',  # sudo pip install smc.freeimage
]

CLUTTER_PATTERNS = [
    'libsver.*'
]

if six.PY2:
    INSTALL_REQUIRES += ['functools32 >= 3.2.3-1']

if __name__ == '__main__':
    kwargs = util_setup.setuptools_setup(
        setup_fpath=__file__,
        name='vtool',
        packages=util_setup.find_packages(),
        version=util_setup.parse_package_for_version('vtool'),
        license=util_setup.read_license('LICENSE'),
        long_description=util_setup.parse_readme('README.md'),
        ext_modules=util_setup.find_ext_modules(),
        cmdclass=util_setup.get_cmdclass(),
        description=('Vision tools - tools for computer vision'),
        url='https://github.com/Erotemic/vtool',
        author='Jon Crall',
        author_email='*****@*****.**',
        keywords='',
        install_requires=INSTALL_REQUIRES,
        clutter_patterns=CLUTTER_PATTERNS,
        # package_data={'build': ut.get_dynamic_lib_globstrs()},
        # build_command=lambda: ut.Repo(dirname(__file__)),
        build_command=lambda: ut.std_build_command(),
コード例 #2
0
ファイル: setup.py プロジェクト: whaozl/ibeis
"""

if six.PY2:
    INSTALL_REQUIRES.append('requests >= 0.8.2')

INSTALL_REQUIRES += INSTALL_OPTIONAL


if __name__ == '__main__':
    print('[setup] Entering IBEIS setup')
    kwargs = util_setup.setuptools_setup(
        setup_fpath=__file__,
        name='ibeis',
        author='Jon Crall, Jason Parham',
        author_email='*****@*****.**',
        packages=util_setup.find_packages(),
        version=util_setup.parse_package_for_version('ibeis'),
        license=util_setup.read_license('LICENSE'),
        long_description=util_setup.parse_readme('README.md'),
        ext_modules=util_setup.find_ext_modules(),
        cmdclass=util_setup.get_cmdclass(),
        project_dirs=PROJECT_DIRS,
        chmod_patterns=CHMOD_PATTERNS,
        clutter_patterns=CLUTTER_PATTERNS,
        clutter_dirs=CLUTTER_DIRS,
        install_requires=INSTALL_REQUIRES,
        scripts=[
            '_scripts/ibeis'
        ],
        #cython_files=CYTHON_FILES,
    )