示例#1
0
setup(
    name='rust-fst',
    version='0.2.0dev',
    author='Johannes Baiter',
    author_email='*****@*****.**',
    description=('Python bindings for the Rust `fst` create, providing sets '
                 'and maps backed by finite state transducers.'),
    license='MIT',
    keywords=['fst', 'rust', 'levenshtein', 'automata', 'transducer',
              'data_structures'],
    url='https://github.com/jbaiter/python-rust-fst',
    setup_requires=[
        'cffi>=1.0.0'],
    install_requires=['cffi>=1.0.0'],
    cffi_modules=['rust_fst/_build_ffi.py:ffi'],
    tests_require=['pytest', 'psutil', 'decorator'],
    distclass=RustDistribution,
    cmdclass={
        'build_rust': build_rust_cmdclass([('fstwrapper', 'rust_fst')]),
        'install_lib': build_install_lib_cmdclass()
    },
    packages=['rust_fst'],
    zip_safe=False,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
        'Topic :: Text Processing :: Indexing']
)
示例#2
0
文件: setup.py 项目: kurhula/qpick
from setuptools import setup

from rust_setuptools import (build_rust_cmdclass, build_install_lib_cmdclass,
                             RustDistribution)

setup(
    name='rust-qpick',
    version='0.0.7',
    author='Dragan Cvetinovic',
    author_email='*****@*****.**',
    description=('Python bindings for the rust `qpick` crate - Query Pickaxe'),
    license='MIT',
    keywords=['inverted', 'index', 'rust'],
    url='https://github.com/dncc/pyqpick',
    setup_requires=['cffi>=1.0.0'],
    install_requires=['cffi>=1.0.0'],
    cffi_modules=['rust_qpick/_build_ffi.py:ffi'],
    distclass=RustDistribution,
    cmdclass={
        'build_rust': build_rust_cmdclass([('qpickwrapper', 'rust_qpick')]),
        'install_lib': build_install_lib_cmdclass()
    },
    packages=['rust_qpick'],
    zip_safe=False,
    classifiers=[
        'Development Status :: 0 - Beta',
        'License :: OSI Approved :: MIT License',
        'Topic :: Text Processing :: Indexing'
    ])
示例#3
0
    name='rure',
    version='0.1.2',
    author='David Blewett',
    author_email='*****@*****.**',
    description=('Python bindings for the Rust `regex` create. '
                 'This implementation uses finite automata and guarantees '
                 'linear time matching on all inputs.'),
    long_description=README + '\n\n' + HISTORY,
    license='MIT',
    keywords=['regex', 'rust', 'dfa', 'automata', 'data_structures'],
    url='https://github.com/davidblewett/rure-python',
    setup_requires=[
        'cffi>=1.5.0'],
    install_requires=['cffi>=1.5.0', 'six'],
    cffi_modules=['rure/_build_ffi.py:ffi'],
    distclass=RustDistribution,
    cmdclass={
        'build_rust': build_rust_cmdclass([(rure_dir, 'rure')]),
        'install_lib': build_install_lib_cmdclass()
        #'install_lib': install_lib_cmdclass()
    },
    packages=['rure', 'rure.tests'],
    package_dir={'rure': 'rure'},
    zip_safe=False,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Topic :: Text Processing :: Indexing']
)