Beispiel #1
0
    exec(f.read(), about)

with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
    long_description = f.read()

setup(
    name=about['__title__'],
    namespace_packages=['digi'],
    version=about['__version__'],
    description=about['__description__'],
    long_description=long_description,
    long_description_content_type='text/x-rst',
    url=about['__url__'],
    author=about['__author__'],
    author_email=about['__author_email__'],
    packages=find_namespace_packages(include=['digi.*']),
    package_data={'': ['LICENSE.txt']},
    include_package_data=True,
    keywords=['xbee', 'IOT', 'wireless', 'radio frequency'],
    license=about['__license__'],
    python_requires=">=3, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*",
    install_requires=[
        'pyserial>=3',
    ],
    extras_require={
        "SRP":  ["srp"],
    },
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Intended Audience :: Telecommunications Industry',
    keywords='EPIC-100 EPIC-55 action-recogition EPIC-kitchens',  # Optional

    # When your source code is in a subdirectory under the project root, e.g.
    # `src/`, it is necessary to specify the `package_dir` argument.
    package_dir={'': 'src/public_lib'},  # Optional

    # You can just specify package directories manually here if your project is
    # simple. Or you can use find_packages().
    #
    # Alternatively, if you just want to distribute a single Python file, use
    # the `py_modules` argument instead as follows, which will expect a file
    # called `my_module.py` to exist:
    #
    #   py_modules=["my_module"],
    #
    packages=find_namespace_packages(where='src/public_lib'),  # Required

    # Specify which Python versions you support. In contrast to the
    # 'Programming Language' classifiers above, 'pip install' will check this
    # and refuse to install the project if the version does not match. See
    # https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
    python_requires='>=3.5, <4',

    # This field lists other packages that your project depends on to run.
    # Any package you put here will be installed by pip when your project is
    # installed, so they must be valid existing projects.
    #
    # For an analysis of "install_requires" vs pip's requirements files see:
    # https://packaging.python.org/en/latest/requirements.html
    install_requires=[
        'dataclasses', 'numpy', 'protobuf', 'pillow', 'scikit-image'
Beispiel #3
0
    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        for path_spec in RealClean.CLEAN_FILES:
            for path in glob.glob(path_spec):  #[str(p) for p in abs_paths]:
                print('removing {0}'.format(path))
                shutil.rmtree(path)


pkgs = setuptools.find_packages(where='src')
pkgs.extend(
    setuptools.find_namespace_packages(where='src', include=['robmodel.*']))

setuptools.setup(
    name='robot-model-tools',
    version='0.1.0',
    description='Classes to model articulated robots, and a command line tool',
    long_description=long_description,
    long_description_content_type='text/markdown',
    author='Marco Frigerio',
    classifiers=[
        "Programming Language :: Python :: 3",
        'License :: OSI Approved :: BSD License',
        "Operating System :: OS Independent",
    ],

    # https://docs.python.org/3/distutils/setupscript.html#listing-whole-packages
Beispiel #4
0
projectName = "sphinx.inheritance_diagram"
projectNameWithPrefix = "btd." + projectName
version = "2.3.1.post1"

setuptools.setup(
    name=projectNameWithPrefix,
    version=version,
    author="Sphinx team, Patrick Lehmann",
    author_email="*****@*****.**",
    # maintainer="Patrick Lehmann",
    # maintainer_email="*****@*****.**",
    description="Embedding diagrams rendered with inheritance_diagram.",
    long_description_content_type="text/markdown",
    # download_url="https://github.com/buildthedocs/sphinx.inheritance_diagram/tarball/0.1.0",
    packages=setuptools.find_namespace_packages(),
    classifiers=[
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3 :: Only",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "Topic :: Documentation :: Sphinx",
        "Framework :: Sphinx :: Extension",
    ],
    keywords="Sphinx Documentation Inheritance Diagram Graphviz",
Beispiel #5
0
 name="digicubes-server",
 # Version number:
 version=version(),
 # Application author details:
 author="Klaas Nebuhr, Marion Nebuhr",
 author_email="*****@*****.**",
 # License
 license="Apache License Version 2.0",
 # Entry Points
 entry_points={
     'console_scripts': [
         'digicubes-server=digicubes_rest.server.commandline:evaluate_command',
     ]
 },
 # Packages
 packages=find_namespace_packages(include=["digicubes*"]),
 zip_safe=False,
 # Include additional files into the package
 include_package_data=True,
 # Details
 description="The digicubes api server",
 long_description=open("README.rst", "r").read(),
 long_description_content_type='text/x-rst',
 classifiers=[
     "License :: OSI Approved :: Apache Software License",
     "Development Status :: 3 - Alpha",
     "Intended Audience :: Developers",
     "Programming Language :: Python :: 3",
     "Programming Language :: Python :: 3.6",
     "Programming Language :: Python :: 3.7",
     "Framework :: AsyncIO",
 def test_pep420_ns_package_no_includes_or_excludes(self):
     packages = find_namespace_packages(self.dist_dir)
     expected = ['docs', 'pkg', 'pkg.nspkg', 'pkg.subpkg', 'pkg.subpkg.assets']
     self._assert_packages(packages, expected)
Beispiel #7
0
setup(
    name='jkq.qcec',
    version='1.6.2',
    author='Lukas Burgholzer',
    author_email='*****@*****.**',
    description=
    'JKQ QCEC - A JKQ tool for Quantum Circuit Equivalence Checking',
    long_description=README,
    long_description_content_type="text/markdown",
    license="MIT",
    url="https://iic.jku.at/eda/research/quantum_verification",
    ext_modules=[CMakeExtension('pyqcec', namespace='jkq.qcec.')],
    cmdclass=dict(build_ext=CMakeBuild),
    zip_safe=False,
    packages=find_namespace_packages(include=['jkq.*']),
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        "Programming Language :: Python :: 3",
        "Programming Language :: C++",
        "License :: OSI Approved :: MIT License",
        "Operating System :: Microsoft :: Windows",
        "Operating System :: MacOS",
        "Operating System :: POSIX :: Linux",
        "Intended Audience :: Science/Research",
        "Natural Language :: English",
        "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
    ],
    keywords="jkq quantum verification",
    project_urls={
        'Source': 'https://github.com/iic-jku/qcec/',
Beispiel #8
0
#!/usr/bin/env python
import os

from setuptools import setup, find_packages, find_namespace_packages

with open("README.md", "r") as f:
    long_description = f.read()

setup(name="quotespy",
      version="1.0.1",
      description="Python library to create quotes/lyrics graphics with PIL.",
      long_description=long_description,
      long_description_content_type="text/markdown",
      url="https://github.com/Ze1598/quotespy",
      author="Jose Costa",
      author_email="*****@*****.**",
      packages=find_namespace_packages(include=["quotespy*"]),
      install_requires=["pillow>=7.1.2", "typing-extensions>=3.7.4.2"],
      python_requires=">=3.7",
      classifiers=[
          "Programming Language :: Python :: 3",
          "Development Status :: 5 - Production/Stable",
          "Operating System :: Microsoft :: Windows :: Windows 10"
      ],
      zip_safe=False)
Beispiel #9
0
  Following:
  https://github.com/bigartm/bigartm/issues/840.
  """
    def finalize_options(self):
        install.finalize_options(self)
        if self.distribution.has_ext_modules():
            self.install_lib = self.install_platlib


setup(
    name=project_name,
    version=__version__,
    description='Lingvo JAX libraries.',
    author='Lingvo Authors',
    author_email='*****@*****.**',
    packages=find_namespace_packages(include=find_namespace_packages(
        include=['lingvo*'], exclude=['*.params*'])),
    include_package_data=True,
    python_requires='>=3.7,<3.10',
    install_requires=REQUIRED_PACKAGES,
    zip_safe=False,
    cmdclass={
        'install': InstallCommand,
    },
    distclass=BinaryDistribution,
    # PyPI package information.
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Intended Audience :: Education',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: Apache Software License',
Beispiel #10
0
   handling periodic boundary conditions.
5. **It will be around.** Pymatgen is not a pet research project. It is used in
   the well-established Materials Project. It is also actively being developed
   and maintained by the [Materials Virtual Lab](https://www.materialsvirtuallab.org),
   the ABINIT group and many other research groups.

With effect from version 2021.1.1, pymatgen only supports Python >3.7.
"""

setup(
    name="pymatgen",
    packages=find_namespace_packages(
        include=[
            "pymatgen.*", "pymatgen.analysis.*", "pymatgen.io.*",
            "pymatgen.ext.*"
        ],
        exclude=[
            "pymatgen.*.tests", "pymatgen.*.*.tests", "pymatgen.*.*.*.tests"
        ],
    ),
    version="2022.0.17",
    cmdclass={"build_ext": build_ext},
    python_requires=">=3.7",
    install_requires=[
        "numpy>=1.20.1",
        "requests",
        "ruamel.yaml>=0.15.6",
        "monty>=3.0.2",
        "scipy>=1.5.0",
        "tabulate",
        "spglib>=1.9.9.44",
Beispiel #11
0
config = {
    "name":
    NAME,
    "version":
    VERSION,
    "license":
    "MIT",
    "classifiers": [
        "Development Status :: 4 - Beta", "Intended Audience :: Developers",
        "Intended Audience :: End Users/Desktop",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Cython", "Topic :: Utilities"
    ],
    "install_requires": [],
    "package_dir": {
        "": "src"
    },
    "packages":
    find_namespace_packages(where="src", include=["angelos.*"]),
    "namespace_packages": ["angelos"],
    "ext_modules":
    cythonize(
        PyxScanner(str(Path("./src")), **scan).scan(),
        build_dir="build",
    ),
    "python_requires":
    PYTHON,
}

setup(**config)
Beispiel #12
0
from setuptools import setup, find_namespace_packages

with open("README.md", "r") as fh:
    long_description = fh.read()

setup(
    name="forestpy",  # Replace with your own username
    packages=['forest'] + list(find_namespace_packages(include=['forest.*'])),
    version="0.1",
    author="ThePyProgrammer",
    author_email="*****@*****.**",
    description=
    "A data science and machine learning library made by me using codes found online. It is based on the pyforest module.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    license="MIT",
    url="https://github.com/ThePyProgrammer/forest",
    download_url=
    'https://github.com/ThePyProgrammer/forest/archive/v_01.tar.gz',
    install_requires=['pandas', 'numpy',
                      'np'],  #external packages as dependencies
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires='>=3.6',
)
Beispiel #13
0
import setuptools


with open("README.md", "r") as fh:
    long_description = fh.read()


setuptools.setup(
    name="famapy",
    version="0.0.1",
    author="Víctor Ramírez de la Corte",
    author_email="*****@*****.**",
    description="FaMaPy is a Python-based AAFM framework that takes into consideration previous AAFM tool designs and enables multi-solver and multi-metamodel support for the integration of AAFM tooling on the Python ecosystem.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/FaMaPy/core",
    packages=setuptools.find_namespace_packages(include=['famapy.*']),
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
        "Operating System :: OS Independent",
    ],
    python_requires='>=3.6',
    install_requires=[],
    scripts=['scripts/famapy_admin.py']
)
Beispiel #14
0
 version=f"{PACKAGE_VERSION}",
 author="The IREE Team",
 author_email="*****@*****.**",
 license="Apache-2.0",
 description="IREE TFLite Compiler Tools",
 long_description=README,
 long_description_content_type="text/markdown",
 url="https://github.com/google/iree",
 classifiers=[
     "Development Status :: 3 - Alpha",
     "License :: OSI Approved :: Apache Software License",
     "Programming Language :: Python :: 3",
 ],
 python_requires=">=3.7",
 packages=find_namespace_packages(include=[
     "iree.tools.tflite",
     "iree.tools.tflite.*",
 ]),
 package_data={
     "iree.tools.tflite": [
         f"iree-import-tflite{exe_suffix}",
     ],
 },
 cmdclass={
     'bdist_wheel': bdist_wheel,
     'install': platlib_install,
 },
 entry_points={
     "console_scripts": [
         "iree-import-tflite = iree.tools.tflite.scripts.iree_import_tflite.__main__:main",
     ],
 },
Beispiel #15
0
from setuptools import setup, find_namespace_packages

from homecontrol import const

REQUIREMENTS = open("requirements.txt").read().splitlines()

MINIMUM_PYTHON_VERSION = ">="+".".join(map(str, const.MINIMUM_PYTHON_VERSION))

setup(
    name="homecontrol",
    url="https://github.com/lennart-k/HomeControl",
    author="Lennart K",
    description="Another approach to home automation",
    long_description=open("README.md").read(),
    long_description_content_type="text/markdown",
    packages=find_namespace_packages(include=("homecontrol", "homecontrol.*")),
    include_package_data=True,
    install_requires=REQUIREMENTS,
    python_requires=MINIMUM_PYTHON_VERSION,
    package_data={
        "": ["*"]
    },
    license="MIT",
    keywords="homecontrol home automation",
    project_urls={
        "GitHub": "https://github.com/lennart-k/HomeControl",
        "Docs": "https://homecontrol.readthedocs.io/en/latest/"
    },
    entry_points={
        "console_scripts": [
            "homecontrol = homecontrol.__main__:main"
Beispiel #16
0
     test=[
         "loompy>=3.0.5",
         "pytest>=4.6",
         "pytest-cov>=2.10",
         "docutils",  # for rst2html.py
         "zarr",
         "matplotlib",
         "sklearn",
         "xlrd",
         "joblib",
         "boltons",
         "scanpy",
     ],
 ),
 python_requires=">=3.6",
 packages=find_namespace_packages(include=["anndata", "anndata.*"]),
 include_package_data=True,
 zip_safe=False,
 classifiers=[
     "Environment :: Console",
     "Framework :: Jupyter",
     "Intended Audience :: Developers",
     "Intended Audience :: Science/Research",
     "Natural Language :: English",
     "Operating System :: MacOS :: MacOS X",
     "Operating System :: Microsoft :: Windows",
     "Operating System :: POSIX :: Linux",
     "Programming Language :: Python :: 3",
     "Programming Language :: Python :: 3.6",
     "Programming Language :: Python :: 3.7",
     "Topic :: Scientific/Engineering :: Bio-Informatics",
Beispiel #17
0
# Get the long description from the README file
with open(path.join(ROOT, "README.md")) as f:
  readme = f.read()

setup(
  name="nupic.research",
  author="Numenta",
  author_email="*****@*****.**",
  license="AGPLv3",
  platforms=["any"],
  url="https://github.com/numenta/nupic.research",
  description="Numenta Experimental Research Code",
  long_description=readme,
  long_description_content_type="text/markdown",
  version=nupic.research.__version__,
  packages=find_namespace_packages(include=["nupic.*"]),
  install_requires=requirements,
  dependency_links=[
    "git+https://github.com/numenta/nupic.torch.git#egg=nupic.torch"
  ],
  python_requires=">=3.6, <4",
  classifiers=[
    "Programming Language :: Python :: 3",
    "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
    "Operating System :: OS Independent",
    "Environment :: Console",
    "Intended Audience :: Science/Research",
    "Topic :: Scientific/Engineering :: Artificial Intelligence"
  ],
  project_urls={
    "Bug Reports": "https://github.com/numenta/nupic.research/issues",
Beispiel #18
0
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
# type: ignore
from pathlib import Path

from read_version import read_version
from setuptools import find_namespace_packages, setup

setup(
    name="hydra-joblib-launcher",
    version=read_version("hydra_plugins/hydra_joblib_launcher", "__init__.py"),
    author="Jan-Matthis Lueckmann, Omry Yadan",
    author_email="[email protected], [email protected]",
    description="Joblib Launcher for Hydra apps",
    long_description=(Path(__file__).parent / "README.md").read_text(),
    long_description_content_type="text/markdown",
    url="https://github.com/facebookresearch/hydra/",
    packages=find_namespace_packages(include=["hydra_plugins.*"]),
    classifiers=[
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Operating System :: MacOS",
        "Operating System :: Microsoft :: Windows",
        "Operating System :: POSIX :: Linux",
    ],
    install_requires=["hydra-core>=1.0.0", "joblib>=0.14.0"],
    include_package_data=True,
)
 def test_pep420_ns_package_no_non_package_dirs(self):
     shutil.rmtree(self.docs_dir)
     shutil.rmtree(os.path.join(self.dist_dir, 'pkg/subpkg/assets'))
     packages = find_namespace_packages(self.dist_dir)
     self._assert_packages(packages, ['pkg', 'pkg.nspkg', 'pkg.subpkg'])
Beispiel #20
0
from setuptools import setup, find_namespace_packages

setup(name='detr', packages=find_namespace_packages(include=['detr.*']))
Beispiel #21
0
setuptools.setup(name='Bubot_WebServer',
                 version=__version__,
                 author="Razgovorov Mikhail",
                 author_email="*****@*****.**",
                 description="Web server for Bubot",
                 long_description=long_description,
                 long_description_content_type="text/markdown",
                 url="https://github.com/businka/Bubot_WebServer",
                 package_dir={'': 'src'},
                 package_data={
                     '': [
                         '*.md', '*.json', '*.css', '*.woff', '*.woff2',
                         '*.js', '*.svg', '*.png', '*.css', '*.html'
                     ],
                 },
                 packages=setuptools.find_namespace_packages(where='src'),
                 classifiers=[
                     "Programming Language :: Python :: 3",
                     "License :: OSI Approved :: MIT License",
                     "Operating System :: OS Independent",
                     "Development Status :: 3 - Alpha",
                     "Framework :: AsyncIO",
                 ],
                 python_requires='>=3.7',
                 zip_safe=False,
                 install_requires=[
                     'motor>=2.3',
                     'aiohttp>=3.7,<4',
                     'aiohttp-session>=2.9',
                     'Bubot_Core>=0.0.14',
                 ])
Beispiel #22
0
            if not line or line.startswith("#") or line.startswith("--"):
                continue
            if line.startswith("-r "):
                req_file = line.split()[1]
                requirements.extend(get_requirements(req_file))
            else:
                requirements.extend(line.split(";")[0].rstrip("  \\").split())
    return requirements


setup_requirements = ["pytest-runner"]
test_requirements = ["pytest"]

# By default use public app requirements and name
packages = find_packages(
    "src", include=["backend_common", "cli_common"]) + find_namespace_packages(
        "src", include=["shipit_api.common", "shipit_api.public"])
name = "shipit_api-public"
req_file = "public.txt"

# In order to separate the public and admin apps, use `APP_TYPE` environment
# variable as a most portable way to parameterize setup.py
if os.environ.get("APP_TYPE") == "admin":
    packages.extend(
        find_namespace_packages("src", include=["shipit_api.admin"]))
    name = "shipit_api-admin"
    req_file = "base.txt"

setup(
    author="Mozilla Release Engineering",
    author_email="*****@*****.**",
    classifiers=[
Beispiel #23
0
AUTHOR = "James Hibbard, Andrew Bauman"
DESCRIPTION = ("MLflow model flavour for mlflow_vega visualization grammar")

setup(
    name=APP_NAME,
    version=VERSION,
    license=LICENSE,
    author=AUTHOR,
    description=DESCRIPTION,
    install_requires=[
        'mlflow==1.10.0',
        'PyYAML==5.3.1',
        'altair==4.1.0',
        'altair_viewer',
    ],
    extras_require={},
    packages=find_namespace_packages("src"),
    package_dir={"": "src"},
    package_data={
        "": ["*.yaml"],
    },
    entry_points="""
    [console_scripts]
    """,
    python_requires=">=3.7",
    classifiers=[
        "Programming Language :: Python :: 3.8",
        "License :: OSI Approved :: MIT License",
    ],
)
Beispiel #24
0
    "Programming Language :: Python :: 3.5",
    "Programming Language :: Python :: 3.6",
    "Programming Language :: Python :: 3.7",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9"
]

setup(
    name='atacworks',
    version='0.2.3',
    description='NVIDIA genomics python libraries and utiliites',
    author='NVIDIA Corporation',
    url="https://github.com/clara-genomics/AtacWorks",
    include_package_data=True,
    install_requires=[
        get_installation_requirments(
            get_verified_absolute_path(
                os.path.join(current_dir, 'requirements-base.txt'))),
        get_installation_requirments(
            get_verified_absolute_path(
                os.path.join(current_dir, 'requirements-macs2.txt')))
    ],
    packages=find_namespace_packages(where=current_dir,
                                     include=['claragenomics.*']),
    python_requires='>=3.5',
    long_description='Python libraries and utilities for manipulating '
    'genomics data',
    classifiers=pyaw_classifiers,
    platforms=['any'],
)
Beispiel #25
0
 version="0.10.1",
 description="Unity Machine Learning Agents",
 long_description=long_description,
 long_description_content_type="text/markdown",
 url="https://github.com/Unity-Technologies/ml-agents",
 author="Unity Technologies",
 author_email="*****@*****.**",
 classifiers=[
     "Intended Audience :: Developers",
     "Topic :: Scientific/Engineering :: Artificial Intelligence",
     "License :: OSI Approved :: Apache Software License",
     "Programming Language :: Python :: 3.6",
     "Programming Language :: Python :: 3.7",
 ],
 # find_namespace_packages will recurse through the directories and find all the packages
 packages=find_namespace_packages(
     exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
 zip_safe=False,
 install_requires=[
     # Test-only dependencies should go in test_requirements.txt, not here.
     "grpcio>=1.11.0",
     "h5py>=2.9.0",
     "jupyter",
     "matplotlib",
     "mlagents_envs==0.10.1",
     "numpy==1.16.4",
     "Pillow>=4.2.1",
     "protobuf>=3.6",
     "pyyaml",
     "tensorflow-gpu==1.7.1",
     'pypiwin32==223;platform_system=="Windows"',
 ],
Beispiel #26
0
     "Intended Audience :: Developers",
     "Intended Audience :: Information Technology",
     "Intended Audience :: System Administrators",
     "License :: OSI Approved",
     "License :: OSI Approved :: Apache Software License",
     "Operating System :: Unix",
     "Operating System :: POSIX :: Linux",
     "Environment :: Console",
     "Environment :: MacOS X",
     "Topic :: Software Development",
 ],
 # Package info.
 zip_safe=False,
 python_requires=">=3.6",
 package_dir={"": "src"},
 packages=setuptools.find_namespace_packages(where="./src"),
 package_data={
     "datahub": ["py.typed"],
     "datahub.metadata": ["schema.avsc"],
     "datahub.metadata.schemas": ["*.avsc"],
     "datahub.ingestion.source.feast_image":
     ["Dockerfile", "requirements.txt"],
 },
 entry_points=entry_points,
 # Dependencies.
 install_requires=list(base_requirements | framework_common),
 extras_require={
     "base": list(framework_common),
     **{
         plugin: list(framework_common | dependencies)
         for (plugin, dependencies) in plugins.items()
Beispiel #27
0
The setup process for libtike-cufft is very much like any python module except
that the compilation of the the extension module(s) is driven by CMake through
scikit-build. Scikit-build defines a custom Extension class which calls CMake
and provides some common (for Python) CMake package finders.

You can pass build options to CMake using the normal -DBUILD_OPTION=something
syntax, but these options must separated from the setuptools options with two
dashes (--). For example, we can pass the EXTENSION_WRAPPER option as follows:

$ python setup.py build -- -DEXTENSION_WRAPPER=swig

For skbuild >= 0.10.0, the two dashes will not be required. See the top-level
CMakeLists.txt for the curent list of build options.
"""
from skbuild import setup
from setuptools import find_namespace_packages

setup(
    name='libtike-cufft',
    author='Viktor Nikitin',
    version='0.4.0',
    package_dir={'': 'src'},
    packages=find_namespace_packages(where='src', include=['libtike.*']),
    zip_safe=False,
    entry_points={
        'tike.PtychoBackend': [
            'cudafft = libtike.cufft.ptycho:PtychoCuFFT',
        ],
    },
)
Beispiel #28
0
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# See LICENSE for more details.
#
# Copyright: Red Hat Inc. 2017
# Author: Cleber Rosa <*****@*****.**>

from setuptools import setup

# Handle systems with setuptools < 40
try:
    from setuptools import find_namespace_packages
except ImportError:
    packages = ['avocado_varianter_pict']
else:
    packages = find_namespace_packages(include=['avocado_varianter_pict'])

VERSION = open("VERSION", "r", encoding='utf-8').read().strip()

setup(name='avocado-framework-plugin-varianter-pict',
      description='Varianter with combinatorial capabilities by PICT',
      version=VERSION,
      author='Avocado Developers',
      author_email='*****@*****.**',
      url='http://avocado-framework.github.io/',
      packages=packages,
      include_package_data=True,
      install_requires=[f'avocado-framework=={VERSION}'],
      entry_points={
          'avocado.plugins.cli': [
              'varianter_pict = avocado_varianter_pict.varianter_pict:VarianterPictCLI',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Operating System :: POSIX',
        'Operating System :: MacOS :: MacOS X',
        'Environment :: No Input/Output (Daemon)',
        'Topic :: Scientific/Engineering',
        'Topic :: Software Development',
    ],
    project_urls={
        'Documentation': 'http://docs.backend.ai',
        'Source': 'https://github.com/lablup/backend.ai-integration-jupyter',
        'Tracker': 'https://github.com/lablup/backend.ai-integration-jupyter/issues',
    },

    package_dir={'': 'src'},
    packages=find_namespace_packages(where='src', include='ai.backend.*'),

    python_requires='>=3.5',
    install_requires=[
        'backend.ai-client>=1.4.0,<1.5.0',
        'metakernel~=0.20.14',
    ],
    extras_require={
        'build': ['wheel>=0.31.0', 'twine>=0.11.0'],
        'dev': ['pytest', 'flake8'],
        'test': ['pytest'],
    },
    setup_requires=[
        'setuptools>=40.1.0',
    ],
    package_data={
Beispiel #30
0
from setuptools import find_namespace_packages, setup

setup(
    name='perdir',
    version='1',
    url='https://github.com/twiebe/perdir',
    license='BSD',
    author='Thomas Wiebe',
    author_email='*****@*****.**',
    description='Execute commands per directory easily and concurrently',
    long_description='Execute commands per directory easily and concurrently',
    package_dir={'': 'src'},
    packages=find_namespace_packages(where='src'),
    zip_safe=False,
    include_package_data=True,
    platforms='any',
    install_requires=['progressbar2', 'termcolor'],
    entry_points={'console_scripts': ['perdir=perdir.main:entrypoint']},
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ])
Beispiel #31
0
extra_requires = {
    'empy': ['EmPy==3.3.*'],
    'docs': ['sphinx==2.0.*'],
    'all': []
}
extra_requires['all'] += extra_requires['empy']
extra_requires['all'] += extra_requires['docs']
extra_requires['all'] += tests_require

setup(
    version=find_version("cylc", "flow", "__init__.py"),
    long_description=open('README.md').read(),
    long_description_content_type="text/markdown",
    scripts=glob(join('bin', '*')),
    packages=find_namespace_packages(include=["cylc.*"]),
    package_data={
        'cylc.flow': ['*.txt', '*.md', '*.sh']
    },
    cmdclass=cmdclass,
    include_package_data=False,
    install_requires=install_requires,
    tests_require=tests_require,
    extras_require=extra_requires,
    project_urls={
        "Documentation": "https://cylc.github.io/documentation.html",
        "Source": "https://github.com/cylc/cylc-flow",
        "Tracker": "https://github.com/cylc/cylc-flow/issues"
    }
)
Beispiel #32
0
# Exclude a few files if the corresponding distribution is not loaded
optional_packages = [
    'mcqd', 'bliss', 'tdlib', 'primecount', 'coxeter3', 'fes', 'sirocco',
    'meataxe'
]
not_installed_packages = [
    package for package in optional_packages
    if not is_package_installed_and_updated(package)
]

distributions_to_exclude = [f"sage-{pkg}" for pkg in not_installed_packages]
files_to_exclude = filter_cython_sources(SAGE_SRC, distributions_to_exclude)

log.debug(f"files_to_exclude = {files_to_exclude}")

python_packages = find_namespace_packages(where=SAGE_SRC,
                                          include=['sage', 'sage_setup'])
log.debug(f"python_packages = {python_packages}")

log.info(
    f"Discovered Python/Cython sources, time: {(time.time() - t):.2f} seconds."
)

# from sage_build_cython:
import Cython.Compiler.Options
Cython.Compiler.Options.embed_pos_in_docstring = True
gdb_debug = os.environ.get('SAGE_DEBUG', None) != 'no'

try:
    log.info("Generating auto-generated sources")
    from sage_setup.autogen import autogen_all
    autogen_all()
Beispiel #33
0
    def run(self):
        tag = os.getenv('CIRCLE_TAG')

        if tag != VERSION:
            info = "Git tag: {0} does not match the version of this app: {1}".format(
                tag, VERSION
            )
            sys.exit(info)

setup(name='datamaestro',
    version=VERSION,
    description='Dataset management',
    author='Benjamin Piwowarski',
    author_email='*****@*****.**',
    url='https://github.com/bpiwowar/datamaestro',
    packages=find_namespace_packages(include="datamaestro.*"),
    install_requires = requirements,
    package_data={'datamaestro': ['LICENSE', 'datamaestro/repositories.yaml']},
    cmdclass={
        'verify': VerifyVersionCommand,
    },
    python_requires='>=3',
    data_files = [
        
    ],
    entry_points = {
        'console_scripts': [
            'datamaestro = datamaestro.__main__:main',                  
        ],         
        'mkdocs.plugins': [
                'datamaestro = datamaestro.commands.site:DatasetGenerator',
Beispiel #34
0
from setuptools import setup, find_namespace_packages

with open("README.md", "r") as openReadMe:
    long_description = openReadMe.read()

setup(
    name="Group Buy Organizer",
    version="1.0.2",
    author="Mark Michon",
    author_email="*****@*****.**",
    description="📦 Quickly coordinate large wholesale group orders with this easy to use web app.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/MarkMichon1/Group-Buy-Organizer",
    packages=find_namespace_packages(),
    install_requires=[
        'flask',
        'flask-bcrypt',
        'flask-login',
        'flask-sqlalchemy',
        'flask-wtf',
        'pdfkit',
    ],
    classifiers=[
        "Programming Language :: Python :: 3.7",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
)
 def test_pep420_ns_package_no_includes(self):
     packages = find_namespace_packages(
         self.dist_dir, exclude=['pkg.subpkg.assets'])
     self._assert_packages(packages, ['docs', 'pkg', 'pkg.nspkg', 'pkg.subpkg'])
Beispiel #36
0
# DESCRIPTION #
# The long description metadata passed to setuptools is used to populate the
# PyPI page for this package. Thus, we'll generate the description by using the
# same README.md file that we use in the GitHub repo.

with open("./README.md", "r") as fh:
    long_description = fh.read()

# LIST OF REQUIREMENTS #
# Get list of requirements from requirements.txt
with open("./requirements.txt", "r") as fh:
    requirements = fh.readlines()

# SETUPTOOLS INVOCATION #
setuptools.setup(
    name="azure-quantum",
    version=version,
    author="Microsoft",
    description="Python client for Azure Quantum",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/microsoft/qdk-python",
    packages=setuptools.find_namespace_packages(include=["azure.*"]),
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    install_requires=requirements,
)
 def test_regular_package_with_nested_pep420_ns_packages(self):
     self._touch('__init__.py', self.pkg_dir)
     packages = find_namespace_packages(
         self.dist_dir, exclude=['docs', 'pkg.subpkg.assets'])
     self._assert_packages(packages, ['pkg', 'pkg.nspkg', 'pkg.subpkg'])
Beispiel #38
0
 license='BSD',
 description='MUG API Backend - URL redirector',
 long_description=re.compile('^.. start-badges.*^.. end-badges',
                             re.M | re.S).sub('', read('README.rst')),
 author='Gerhard Zeisler',
 author_email='*****@*****.**',
 url='https://github.com/medunigraz/outpost.django.redirect',
 use_scm_version=True,
 setup_requires=[
     'setuptools_scm',
 ],
 install_requires=[
     'outpost.django',
 ],
 packages=find_namespace_packages(where='src',
                                  include=[
                                      'outpost.django.*',
                                  ]),
 package_dir={'': 'src'},
 namespace_packages=[
     'outpost',
     'outpost.django',
 ],
 include_package_data=True,
 zip_safe=False,
 classifiers=[
     'Development Status :: 5 - Production/Stable',
     'Intended Audience :: Developers',
     'License :: OSI Approved :: BSD License',
     'Operating System :: Unix',
     'Operating System :: POSIX',
     'Programming Language :: Python',
Beispiel #39
0
 license=LICENSE,
 url=URL,
 keywords=KEYWORDS,
 python_requires='>=3.6',
 setup_requires=['pytest-runner'],
 tests_require=modules['testing'],
 # List additional groups of dependencies here (e.g. development
 # dependencies). You can install these using the following syntax,
 # for example:
 # $ pip install -e .[dev,test]
 install_requires=modules['required'],
 extras_require={
     'testing': modules['testing'],
     'all': list(set(itertools.chain.from_iterable(modules.values())))
 },
 packages=find_namespace_packages(exclude=['tests', 'test_*']),
 classifiers=[
     'Development Status :: 3 - Alpha',
     'Environment :: Console',
     'Intended Audience :: Science/Research',
     'License :: OSI Approved :: MIT License',
     'Operating System :: POSIX',
     'Programming Language :: C',
     'Programming Language :: Python :: 3',
     'Programming Language :: Python :: 3.6',
     'Programming Language :: Python :: 3.7',
     'Programming Language :: Python :: 3 :: Only',
     'Topic :: Scientific/Engineering :: Astronomy',
     'Topic :: Scientific/Engineering :: Physics',
 ],
 cmdclass={'build_py': build_py}
Beispiel #40
0
 classifiers=[
     'Development Status :: 4 - Beta',
     'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',  # noqa
     'Intended Audience :: Developers',
     'Programming Language :: Python',
     'Programming Language :: Python :: 3',
     'Programming Language :: Python :: 3.5',
     'Programming Language :: Python :: 3.6',
     'Operating System :: POSIX',
     'Operating System :: MacOS :: MacOS X',
     'Environment :: No Input/Output (Daemon)',
     'Topic :: Scientific/Engineering',
     'Topic :: Software Development',
 ],
 package_dir={'': 'src'},
 packages=find_namespace_packages(where='src', include='ai.backend.*'),
 python_requires='>=3.5',
 setup_requires=setup_requires,
 install_requires=install_requires,
 extras_require={
     'dev': dev_requires,
     'test': test_requires,
     'ci': ci_requires,
     'docs': docs_requires,
 },
 data_files=[],
 entry_points={
     'console_scripts': [
         'backend.ai = ai.backend.client.cli:main',
         'lcc = ai.backend.client.cli:run_alias',
         'lpython = ai.backend.client.cli:run_alias',