How to use the setuptools.find_packages function in setuptools

To help you get started, we’ve selected a few setuptools examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github scrapinghub / mdr / setup.py View on Github external
import numpy

ext_modules = [Extension('mdr._tree',
    sources=['mdr/_tree.c'],
    include_dirs = [numpy.get_include()],
)]

setup(name='mdr',
      version='0.0.1',
      description="python library to detect and extract listing data from HTML page",
      long_description="",
      author="Terry Peng",
      author_email="pengtaoo@gmail.com",
      url='https://github.com/tpeng/mdr',
      license='MIT',
      packages=find_packages(exclude=['tests', 'tests.*']),
      ext_modules=ext_modules,
      install_requires=['lxml']
)
github criteo / biggraphite / setup.py View on Github external
with open(fullpath) as f:
        return f.read()


def _read_reqs(relpath):
    fullpath = os.path.join(os.path.dirname(__file__), relpath)
    with open(fullpath) as f:
        return [s.strip() for s in f.readlines()
                if (s.strip() and not s.startswith("#"))]


_REQUIREMENTS_TXT = _read_reqs("freeze-requirements.txt")
_DEPENDENCY_LINKS = [l for l in _REQUIREMENTS_TXT if "://" in l]
_INSTALL_REQUIRES = [l for l in _REQUIREMENTS_TXT if "://" not in l]

packages = setuptools.find_packages()

setuptools.setup(
    name="biggraphite",
    version="0.14.14",
    maintainer="Criteo Graphite Team",
    maintainer_email="github@criteo.com",
    description="Simple Scalable Time Series Database.",
    license="Apache Software License",
    keywords="graphite carbon cassandra biggraphite tsdb timeseries",
    url="https://github.com/criteo/biggraphite",
    include_package_data=True,
    packages=packages,
    long_description=_read("README.md"),
    install_requires=_INSTALL_REQUIRES,
    dependency_links=_DEPENDENCY_LINKS,
    tests_require=_read_reqs("tests-requirements.txt"),
github wradlib / wradlib / setup.py View on Github external
metadata = dict(
        name=NAME,
        maintainer=MAINTAINER,
        maintainer_email=MAINTAINER_EMAIL,
        description=DESCRIPTION,
        long_description=LONG_DESCRIPTION,
        url=URL,
        version=VERSION,
        download_url=DOWNLOAD_URL,
        license=LICENSE,
        classifiers=CLASSIFIERS,
        platforms=PLATFORMS,
        install_requires=INSTALL_REQUIRES,
        extras_require={'dev': DEVEL_REQUIRES},
        packages=find_packages(),
        entry_points={
            'console_scripts': [
                'testrunner=scripts.testrunner:main'
            ]
        },
    )

    setup(**metadata)
github developmentseed / geodex / setup.py View on Github external
setup(name='geodex',
      author='Development Seed',
      author_email='',
      version=__version__,
      description=('A tool to find all geospatial tile indices overlapping an '
                   'arbitrary boundary at an arbitrary zoom.'),
      url='https://github.com/developmentseed/geodex',
      license='MIT',
      classifiers=['Intended Audience :: Developers',
                   'License :: Freeware',
                   'Programming Language :: Python :: 3.5',
                   'Programming Language :: Python :: 3.6'],
      keywords='',
      entry_points={'console_scripts': ['geodex=geodex.main:cli']},
      packages=find_packages(exclude=['docs', 'tests*']),
      include_package_data=True,
      install_requires=install_requires,
      dependency_links=dependency_links)
github tcstewar / ccmsuite / setup.py View on Github external
from setuptools import setup, find_packages

setup(
    name="ccmsuite",
    version=0.2,
    author="Terry Stewart",
    author_email="tcstewar@uwaterloo.ca",
    packages=find_packages(),
    scripts=[],
    url="https://github.com/tcstewar/ccmsuite",
    description = "Python Cognitive Modelling Suite"
)
github simetenn / uncertainpy / src / uncertainpy / plotting / prettyplot / setup.py View on Github external
except ImportError:
    print("Setuptools is needed to install all dependencies")
    print("Setuptools: https://pypi.python.org/pypi/setuptools")


name = "prettyplot"
version = "0.9"

prettyplot_req = ["seaborn", "matplotlib", "numpy"]

setup(name=name,
      url="https://github.com/simetenn/prettyplot",
      author="Simen Tennøe",
      description='Pretty plotting',
      platforms='linux',
      packages=find_packages(),
      install_requires=prettyplot_req
     )
github dask / dask-image / setup.py View on Github external
cmdclasses = {
    "test": PyTest,
}
cmdclasses.update(versioneer.get_cmdclass())


setup(
    name="dask-image",
    version=versioneer.get_version(),
    description="Distributed image processing",
    long_description=readme + "\n\n" + history,
    author="John Kirkham",
    author_email="kirkhamj@janelia.hhmi.org",
    url="https://github.com/dask/dask-image",
    cmdclass=cmdclasses,
    packages=setuptools.find_packages(exclude=["tests*"]),
    include_package_data=True,
    python_requires='>=3.5',
    install_requires=requirements,
    license="BSD 3-Clause",
    zip_safe=False,
    keywords="dask-image",
    classifiers=[
        "Development Status :: 2 - Pre-Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Natural Language :: English",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
github vertical-knowledge / ripozo-sqlalchemy / setup.py View on Github external
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from setuptools import setup, find_packages


version = '1.0.3.dev0'

setup(
    name='ripozo-sqlalchemy',
    version=version,
    packages=find_packages(include=['ripozo_sqlalchemy', 'ripozo_sqlalchemy.*']),
    url='https://github.com/vertical-knowledge/ripozo-sqlalchemy',
    license='',
    author='Tim Martin',
    author_email='tim.martin@vertical-knowledge.com',
    description=('Integrates SQLAlchemy with ripozo to'
                 ' easily create sqlalchemy backed Hypermedia/HATEOAS/REST apis'),
    install_requires=[
        'ripozo',
        'SQLAlchemy>=0.9.1'
    ],
    tests_require=[
        'unittest2',
        'tox',
        'mock',
        'pylint'
    ],
github mostm / pyqiwi / setup.py View on Github external
'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ],
    description="Python Qiwi API Wrapper",
    install_requires=requirements,
    license="MIT",
    long_description=readme + '\n\n' + history,
    include_package_data=True,
    keywords='pyqiwi',
    name='qiwipy',
    packages=find_packages(include=['pyqiwi']),
    setup_requires=setup_requirements,
    test_suite='tests',
    tests_require=test_requirements,
    url='https://github.com/mostm/pyqiwi',
    version=__version__,
    zip_safe=False,
)
github AWNystrom / DiskDict / setup.py View on Github external
from setuptools import setup, find_packages

setup(
    name = "disk_dict",
    packages = find_packages(),
    version = "2.2.0",
    description = "A disk-based key/value store in Python.",
    author = "Andrew Nystrom",
    author_email = "AWNystrom@gmail.com",
    url = "https://github.com/AWNystrom/DiskDict",
    keywords = ["disk", "based", "key", "value", "store", "dict", "diskdict"],
    license = "Apache 2.0",
    install_requires = ['xxhash>=0.3.2'],
    long_description=open('README.txt').read(),
    classifiers = ["Programming Language :: Python", 
    			   "Programming Language :: Python :: 2.7",
    			   "Programming Language :: Python :: 2",
    			   "License :: OSI Approved :: Apache Software License",
    			   "Operating System :: OS Independent",
    			   "Development Status :: 4 - Beta",
    			   "Intended Audience :: Developers"