Пример #1
0
# Copyright 2010-2011 Canonical Ltd.  This software is licensed under the
# GNU Lesser General Public License version 3 (see the file LICENSE).

from setuptools import setup, find_packages

from setup_helpers import get_version


setup(
    # metadata
    name='django-configglue',
    version=get_version('django_configglue/__init__.py'),
    author='Ricardo Kirkner',
    author_email='*****@*****.**',
    description='Django commands for managing configglue generated settings',
    long_description='Django commands for managing configglue generated '
        'settings from the command line.\n'
        'Commands are available to:\n'
        ' - get the value of a setting\n'
        ' - list all settings used (and their values)\n'
        ' - list all settings used, including django global settings (and\n'
        '   their values)\n'
        ' - locate the definition of a setting (useful when the configuration\n'
        '   is defined throughout several files)\n'
        ' - validate settings (make sure the values match the defined schema)',
    license='LGPLv3',
    keywords = ['django', 'configglue', 'configuration', 'settings'],
    url = 'https://launchpad.net/django-configglue/',
    classifiers = [
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
Пример #2
0
source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'Enlighten'
copyright = '2017 - 2020, Avram Lubkin'
author = 'Avram Lubkin'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = get_version('../enlighten/__init__.py')
# The full version, including alpha/beta/rc tags.
release = version

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = []
Пример #3
0
# html requires sphinx, sphinx_rtd_theme
# spelling requires sphinxcontrib-spelling

if sys.version_info[:2] < (3, 3):

    # Include unittest.mock from 3.3
    TESTS_REQUIRE.append('mock')

if sys.version_info[:2] < (2, 7):

    # Include unittest from 2.7
    TESTS_REQUIRE.append('unittest2')

setup(
    name='enlighten',
    version=get_version('enlighten.py'),
    description='Enlighten Progress Bar',
    long_description=readme('README.rst'),
    author='Avram Lubkin',
    author_email='*****@*****.**',
    maintainer='Avram Lubkin',
    maintainer_email='*****@*****.**',
    url='https://github.com/Rockhopper-Technologies/enlighten',
    license='MPLv2.0',
    zip_safe=False,
    install_requires=REQUIRES,
    setup_requires=SETUP_REQUIRES,
    tests_require=TESTS_REQUIRE,
    py_modules=['enlighten'],
    test_suite='tests',
    classifiers=[
Пример #4
0
# The master toctree document.
master_doc = 'README'

# General information about the project.
project = u'aiosmtpd'
copyright = u'2015-2016, aiosmtpd hackers'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '1.0'
# The full version, including alpha/beta/rc tags.
from setup_helpers import get_version
release = get_version('aiosmtpd/smtp.py')

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build', '.tox/*', '.git*']
Пример #5
0
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# mailman.client is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with mailman.client.  If not, see <http://www.gnu.org/licenses/>.

from setup_helpers import description, get_version, require_python
from setuptools import setup, find_packages

require_python(0x20600f0)
__version__ = get_version('src/mailmanclient/constants.py')

setup(
    name='mailmanclient',
    version=__version__,
    packages=find_packages('src'),
    description='mailmanclient -- python library for Mailman REST API',
    long_description=description('README.rst'),
    package_dir={'': 'src'},
    include_package_data=True,
    maintainer='Barry Warsaw',
    maintainer_email='*****@*****.**',
    license='LGPLv3',
    url='https://www.list.org/',
    classifiers=[
        'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',  # noqa
Пример #6
0
from setup_helpers import require_python, get_version
from setuptools import setup, find_packages

require_python(0x30400F0)
__version__ = get_version("aiosmtpd/smtp.py")

setup(
    name="ver_in_weird_file",
    version=__version__,
    description="ver_in_weird_file",
    long_description="""ver_in_weird_file""",
    author="ver_in_weird_file",
    url="ver_in_weird_file",
    keywords="email",
    packages=find_packages(),
)
Пример #7
0
from setup_helpers import get_version, readme

TESTS_REQUIRE = []

if sys.version_info[:2] < (3, 3):

    # Include unittest.mock from 3.3
    TESTS_REQUIRE.append('mock')

if sys.version_info[:2] < (2, 7):

    # Include unittest from 2.7
    TESTS_REQUIRE.append('unittest2')

setup(name='pluginlib',
      version=get_version(os.path.join('pluginlib', '__init__.py')),
      description='A framework for creating and importing plugins',
      long_description=readme('README.rst'),
      url='https://github.com/Rockhopper-Technologies/pluginlib',
      license='MPLv2.0',
      author='Avram Lubkin',
      author_email='*****@*****.**',
      packages=find_packages(exclude=['tests', 'tests.*']),
      install_requires=['setuptools'],
      tests_require=TESTS_REQUIRE,
      zip_safe=False,
      classifiers=[
          'Development Status :: 4 - Beta',
          'Environment :: Plugins',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
Пример #8
0
#
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
"""Setup file."""

from setuptools import find_packages, setup

from setup_helpers import PyTest, get_version, include_file

# require_python(50725104)
__version__ = get_version("blackhole/__init__.py")

entry_points = {
    "console_scripts": (
        "blackhole = blackhole.application:run",
        "blackhole_config = blackhole.application:blackhole_config",
    )
}

extras_require = {
    "setproctitle": ["setproctitle"],
    "uvloop": ["uvloop"],
    "docs": ["sphinx", "guzzle_sphinx_theme"],
    "tests": [
        "coverage",
        "pytest",
Пример #9
0
# Software Foundation, version 3 of the License.
#
# flufl.i18n is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with flufl.i18n.  If not, see <http://www.gnu.org/licenses/>.

from setup_helpers import (description, get_version, long_description,
                           require_python)
from setuptools import setup, find_packages

require_python(0x20600f0)
__version__ = get_version('flufl/i18n/__init__.py')

setup(name='flufl.i18n',
      version=__version__,
      namespace_packages=['flufl'],
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      maintainer='Barry Warsaw',
      maintainer_email='*****@*****.**',
      description=description('README.rst'),
      long_description=long_description('README.rst', 'flufl/i18n/NEWS.rst'),
      license='LGPLv3',
      url='https://launchpad.net/flufl.i18n',
      download_url='https://launchpad.net/flufl.i18n/+download',
      test_suite='flufl.i18n.tests',
Пример #10
0
source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'Jinxed'
copyright = '2019, Avram Lubkin'
author = 'Avram Lubkin'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = get_version('../jinxed/__init__.py')
# The full version, including alpha/beta/rc tags.
release = version

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = []
Пример #11
0
"""public -- @public for populating __all__"""

from setup_helpers import get_version, require_python
from setuptools import setup, find_packages

require_python(0x30800f0)
__version__ = get_version('src/public/__init__.py')

with open('README.rst') as fp:
    readme = fp.read()

setup(
    name='atpublic',
    version=__version__,
    author='Barry Warsaw',
    author_email='*****@*****.**',
    description=__doc__,
    long_description=readme,
    long_description_content_type='text/x-rst',
    license='Apache 2.0',
    keywords='__all__ public',
    url='http://public.readthedocs.io/',
    package_dir={"": "src"},
    packages=['public'],
    include_package_data=True,
    package_data={
        'public': ['public/py.typed'],
    },
    # readthedocs builds fail unless zip_safe is False.
    zip_safe=False,
    python_requires='>=3.8',
Пример #12
0
#
# flufl.i18n is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with flufl.i18n.  If not, see <http://www.gnu.org/licenses/>.

from setup_helpers import (
    description, get_version, long_description, require_python)
from setuptools import setup, find_packages


require_python(0x20600f0)
__version__ = get_version('flufl/i18n/__init__.py')


setup(
    name='flufl.i18n',
    version=__version__,
    namespace_packages=['flufl'],
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    maintainer='Barry Warsaw',
    maintainer_email='*****@*****.**',
    description=description('README.rst'),
    long_description=long_description('README.rst', 'flufl/i18n/NEWS.rst'),
    license='LGPLv3',
    url='https://launchpad.net/flufl.i18n',
Пример #13
0
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

"""Setup file."""

from setuptools import find_packages, setup

from setup_helpers import PyTest, get_version, include_file


# require_python(50725104)
__version__ = get_version("blackhole/__init__.py")

entry_points = {
    "console_scripts": (
        "blackhole = blackhole.application:run",
        "blackhole_config = blackhole.application:blackhole_config",
    )
}

extras_require = {
    "setproctitle": ["setproctitle"],
    "uvloop": ["uvloop"],
    "docs": ["sphinx", "guzzle_sphinx_theme"],
    "tests": ["coverage", "pytest", "pytest-asyncio", "pytest-cov"],
}
Пример #14
0
source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'Enlighten'
copyright = '2017, Avram Lubkin'
author = 'Avram Lubkin'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = get_version('../enlighten.py')
# The full version, including alpha/beta/rc tags.
release = version

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = []
Пример #15
0
# Copyright 2010-2011 Canonical Ltd.  This software is licensed under the
# GNU Lesser General Public License version 3 (see the file LICENSE).

from setuptools import setup, find_packages

from setup_helpers import get_version

setup(
    # metadata
    name='django-configglue',
    version=get_version('django_configglue/__init__.py'),
    author='Ricardo Kirkner',
    author_email='*****@*****.**',
    description='Django commands for managing configglue generated settings',
    long_description='Django commands for managing configglue generated '
    'settings from the command line.\n'
    'Commands are available to:\n'
    ' - get the value of a setting\n'
    ' - list all settings used (and their values)\n'
    ' - list all settings used, including django global settings (and\n'
    '   their values)\n'
    ' - locate the definition of a setting (useful when the configuration\n'
    '   is defined throughout several files)\n'
    ' - validate settings (make sure the values match the defined schema)',
    license='LGPLv3',
    keywords=['django', 'configglue', 'configuration', 'settings'],
    url='https://launchpad.net/django-configglue/',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
Пример #16
0
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with mailman.client.  If not, see <http://www.gnu.org/licenses/>.

import distribute_setup
distribute_setup.use_setuptools()

from setup_helpers import (
    description, find_doctests, get_version, long_description, require_python)
from setuptools import setup, find_packages


require_python(0x20600f0)
__version__ = get_version('src/mailmanclient/__init__.py')


setup(
    name='mailmanclient',
    version=__version__,
    packages=find_packages('src'),
    package_dir = {'': 'src'},
    include_package_data=True,
    maintainer='Barry Warsaw',
    maintainer_email='*****@*****.**',
    description=description('README.txt'),
    long_description=long_description(
        'src/mailmanclient/README.txt',
        'src/mailmanclient/NEWS.txt'),
    license='LGPLv3',
Пример #17
0
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with flufl.bounce.  If not, see <http://www.gnu.org/licenses/>.

import distribute_setup
distribute_setup.use_setuptools()

from setup_helpers import (
    description, find_doctests, get_version, long_description, require_python)
from setuptools import setup, find_packages


require_python(0x20600f0)
__version__ = get_version('flufl/bounce/__init__.py')


# Don't try to fix the tests messages.
doctests = [doctest for doctest in find_doctests()
            if 'tests/data' not in doctest]


setup(
    name='flufl-bounce-fc',
    version=__version__,
    namespace_packages=['flufl'],
    packages=find_packages(),
    include_package_data=True,
    maintainer='Barry Warsaw',
    maintainer_email='*****@*****.**',
Пример #18
0
"""
setup.py - Setup script for the nextbus_client module
"""
from setuptools import setup
from setup_helpers import PylintCommand, BehaveCommand, get_version, parse_requirements

VERSION = get_version('nextbus_client') or '0.0.0'

setup(name='nextbus_client',
      version=VERSION,
      description='Python3 compatible client for the NextBus public XML feed',
      author="Adam Duston",
      author_email="*****@*****.**",
      url="https://github.com/compybara/nextbus_client",
      license="BSD-3-Clause",
      packages=['nextbus_client'],
      include_package_data=True,
      install_requires=parse_requirements('requirements.txt'),
      tests_require=parse_requirements('requirements-test.txt'),
      cmdclass={
          "test": BehaveCommand,
          "lint": PylintCommand
      },
      classifiers=[
          'Intended Audience :: Developers',
          'Development Status :: 3 - Alpha',
          'License :: OSI Approved :: BSD License',
          'Operating System :: POSIX :: Linux',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3 :: Only',
Пример #19
0
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with flufl.bounce.  If not, see <http://www.gnu.org/licenses/>.

import distribute_setup

distribute_setup.use_setuptools()

from setup_helpers import description, find_doctests, get_version, long_description, require_python
from setuptools import setup, find_packages


require_python(0x20600F0)
__version__ = get_version("flufl/bounce/__init__.py")


# Don't try to fix the tests messages.
doctests = [doctest for doctest in find_doctests() if "tests/data" not in doctest]


setup(
    name="flufl.bounce",
    version=__version__,
    namespace_packages=["flufl"],
    packages=find_packages(),
    include_package_data=True,
    maintainer="Barry Warsaw",
    maintainer_email="*****@*****.**",
    description=description("README.rst"),
Пример #20
0
# The master toctree document.
master_doc = 'README'

# General information about the project.
project = u'aiosmtpd'
copyright = u'2015-2016, aiosmtpd hackers'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '1.0'
# The full version, including alpha/beta/rc tags.
from setup_helpers import get_version
release = get_version('aiosmtpd/smtp.py')

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build', '.tox/*', '.git*']
Пример #21
0
from setup_helpers import require_python, get_version
from setuptools import setup, find_packages


require_python(0x30400f0)
__version__ = get_version('aiosmtpd/smtp.py')


setup(
    name='aiosmtpd',
    version=__version__,
    description='aiosmtpd - asyncio based SMTP server',
    long_description="""\
This is a server for SMTP and related protocols, similar in utility to the
standard library's smtpd.py module, but rewritten to be based on asyncio for
Python 3.""",
    author='https://github.com/aio-libs',
    url='https://github.com/aio-libs/aiosmtpd',
    keywords='email',
    packages=find_packages(),
    include_package_data=True,
    license='http://www.apache.org/licenses/LICENSE-2.0',
    install_requires=[
        'atpublic',
        ],
    entry_points={
        'console_scripts': ['smtpd = aiosmtpd.main:main'],
        },
    classifiers=[
        'License :: OSI Approved',
        'Intended Audience :: Developers',
Пример #22
0
# option) any later version.
#
# mailman.client is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with mailman.client.  If not, see <http://www.gnu.org/licenses/>.

from setup_helpers import (description, find_doctests, get_version,
                           long_description, require_python)
from setuptools import setup, find_packages

require_python(0x20600f0)
__version__ = get_version('src/mailmanclient/__init__.py')

setup(
    name='mailmanclient',
    version=__version__,
    packages=find_packages('src'),
    package_dir={'': 'src'},
    include_package_data=True,
    maintainer='Barry Warsaw',
    maintainer_email='*****@*****.**',
    description=description('README.rst'),
    long_description=long_description('src/mailmanclient/README.rst',
                                      'src/mailmanclient/NEWS.rst'),
    license='LGPLv3',
    url='http://launchpad.net/mailman.client',
    download_url='https://launchpad.net/mailman.client/+download',
Пример #23
0
from setup_helpers import require_python, get_version
from setuptools import setup, find_packages

require_python(0x30400f0)
__version__ = get_version('aiosmtpd/smtp.py')

setup(
    name='aiosmtpd',
    version=__version__,
    description='aiosmtpd - asyncio based SMTP server',
    long_description="""\
This is a server for SMTP and related protocols, similar in utility to the
standard library's smtpd.py module, but rewritten to be based on asyncio for
Python 3.""",
    author='https://github.com/aio-libs',
    url='https://github.com/aio-libs/aiosmtpd',
    keywords='email',
    packages=find_packages(),
    include_package_data=True,
    license='http://www.apache.org/licenses/LICENSE-2.0',
    install_requires=[
        'atpublic',
    ],
    entry_points={
        'console_scripts': ['aiosmtpd = aiosmtpd.main:main'],
    },
    classifiers=[
        'License :: OSI Approved',
        'Intended Audience :: Developers',
        'Programming Language :: Python :: 3',
        'Topic :: Communications :: Email :: Mail Transport Agents',
Пример #24
0
"""

import os

from setuptools import setup, find_packages

from setup_helpers import get_version, readme

# Require ansicon for Windows versions older than 10.0.10586
# No way to say that with PEP 508
INSTALL_REQUIRES = ['ansicon; platform_system == "Windows"']
TESTS_REQUIRE = ['mock; python_version < "3.3"']

setup(
    name='jinxed',
    version=get_version(os.path.join('jinxed', '__init__.py')),
    description="Jinxed Terminal Library",
    long_description=readme('README.rst'),
    author='Avram Lubkin',
    author_email='*****@*****.**',
    maintainer='Avram Lubkin',
    maintainer_email='*****@*****.**',
    url='https://github.com/Rockhopper-Technologies/jinxed',
    license='MPLv2.0',
    zip_safe=False,
    install_requires=INSTALL_REQUIRES,
    tests_require=TESTS_REQUIRE,
    packages=find_packages(exclude=['tests', 'tests.*', 'examples']),
    test_suite='tests',

    classifiers=[
Пример #25
0
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with flufl.enum.  If not, see <http://www.gnu.org/licenses/>.

import distribute_setup
distribute_setup.use_setuptools()

from setup_helpers import (description, get_version, long_description,
                           require_python)
from setuptools import setup, find_packages

require_python(0x20600f0)
__version__ = get_version('flufl/enum/__init__.py')

setup(
    name='flufl.enum',
    version=__version__,
    namespace_packages=['flufl'],
    packages=find_packages(),
    include_package_data=True,
    maintainer='Barry Warsaw',
    maintainer_email='*****@*****.**',
    description=description('README.rst'),
    long_description=long_description('flufl/enum/README.rst',
                                      'flufl/enum/NEWS.rst'),
    license='LGPLv3',
    url='http://launchpad.net/flufl.enum',
    download_url='https://launchpad.net/flufl.enum/+download',
Пример #26
0
source_suffix = '.rst'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'Pluginlib'
copyright = '2018, Avram Lubkin'
author = 'Avram Lubkin'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = get_version('../pluginlib/__init__.py')
# The full version, including alpha/beta/rc tags.
release = version

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This patterns also effect to html_static_path and html_extra_path
exclude_patterns = []
Пример #27
0
             for num in platform.version().split('.')) < (10, 0, 10586):
        INSTALL_REQUIRES.append('ansicon')

if sys.version_info[:2] < (3, 3):

    # Include unittest.mock from 3.3
    TESTS_REQUIRE.append('mock')

if sys.version_info[:2] < (2, 7):

    # Include unittest from 2.7
    TESTS_REQUIRE.append('unittest2')

setup(
    name='enlighten',
    version=get_version(os.path.join('enlighten', '__init__.py')),
    description='Enlighten Progress Bar',
    long_description=readme('README.rst'),
    author='Avram Lubkin',
    author_email='*****@*****.**',
    maintainer='Avram Lubkin',
    maintainer_email='*****@*****.**',
    url='https://github.com/Rockhopper-Technologies/enlighten',
    license='MPLv2.0',
    zip_safe=False,
    install_requires=INSTALL_REQUIRES,
    tests_require=TESTS_REQUIRE,
    packages=find_packages(exclude=['tests', 'tests.*', 'examples']),
    test_suite='tests',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
Пример #28
0
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with flufl.bounce.  If not, see <http://www.gnu.org/licenses/>.

import distribute_setup
distribute_setup.use_setuptools()

from setup_helpers import (
    description, find_doctests, get_version, long_description, require_python)
from setuptools import setup, find_packages


require_python(0x20600f0)
__version__ = get_version('flufl/bounce/__init__.py')


# Don't try to fix the tests messages.
doctests = [doctest for doctest in find_doctests()
            if 'tests/data' not in doctest]


setup(
    name='flufl.bounce',
    version=__version__,
    namespace_packages=['flufl'],
    packages=find_packages(),
    include_package_data=True,
    maintainer='Barry Warsaw',
    maintainer_email='*****@*****.**',
Пример #29
0
#!/usr/bin/env python
from setup_helpers import (
    get_version,
    get_dependencies,
)

from setuptools import setup, find_packages

setup(
    name='django-sqlextras',
    version=get_version(),
    description='Easily manage custom SQL migrations in Django',
    author='Dan Davis',
    author_email='*****@*****.**',
    url='https://github.com/danizen/django-sqlextras',
    packages=find_packages(),
    package_data={},
    include_package_data=True,
    tests_require=get_dependencies('requirements_test.txt'),
    install_requires=get_dependencies('requirements.txt'),
)
Пример #30
0
# any later version.
#
# flufl.lock is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with flufl.lock.  If not, see <http://www.gnu.org/licenses/>.

from setup_helpers import (description, get_version, long_description,
                           require_python)
from setuptools import setup, find_packages

require_python(0x20700f0)
__version__ = get_version('flufl/lock/__init__.py')

setup(name='flufl.lock',
      version=__version__,
      namespace_packages=['flufl'],
      packages=find_packages(),
      include_package_data=True,
      maintainer='Barry Warsaw',
      maintainer_email='*****@*****.**',
      description=description('README.rst'),
      long_description=long_description('README.rst', 'flufl/lock/NEWS.rst'),
      license='LGPLv3',
      url='http://launchpad.net/flufl.lock',
      download_url='https://pypi.python.org/pypi/flufl.lock',
      test_suite='flufl.lock.tests',
      classifiers=[
Пример #31
0
Blackhole is built on top of asyncio and utilises `async` and `await`
statements on available in Python 3.5 and above.

While Blackhole is an MTA (mail transport agent), none of the actions
performed of SMTP or SMTPS are actually processed and no email or sent or
delivered.
"""


from setup_helpers import require_python, get_version, long_description
from setuptools import setup, find_packages


require_python(50659568)
__version__ = get_version('blackhole/__init__.py')

desc = """Blackhole is an email MTA that pipes all mail to /dev/null.

Blackhole is built on top of asyncio and utilises `async` and `await`
statements on available in Python 3.5 and above.

While Blackhole is an MTA (mail transport agent), none of the actions
performed of SMTP or SMTPS are actually processed and no email or sent or
delivered."""


entry_points = {
    'console_scripts': [
        'blackhole = blackhole.application:run',
    ]
Пример #32
0
#
# mailman.client is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with mailman.client.  If not, see <http://www.gnu.org/licenses/>.

from setup_helpers import (
    description, get_version, long_description, require_python)
from setuptools import setup, find_packages


require_python(0x20600f0)
__version__ = get_version('src/mailmanclient/constants.py')


setup(
    name='mailmanclient',
    version=__version__,
    packages=find_packages('src'),
    package_dir={'': 'src'},
    include_package_data=True,
    maintainer='Barry Warsaw',
    maintainer_email='*****@*****.**',
    description=description('README.rst'),
    long_description=long_description(
        'src/mailmanclient/README.rst',
        'src/mailmanclient/NEWS.rst'),
    license='LGPLv3',
Пример #33
0
master_doc = "README"

# General information about the project.
project = u"aiosmtpd"
copyright = u"2015-2016, aiosmtpd hackers"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = "1.0"
# The full version, including alpha/beta/rc tags.
from setup_helpers import get_version

release = get_version("aiosmtpd/smtp.py")

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
# today = ''
# Else, today_fmt is used as the format for a strftime call.
# today_fmt = '%B %d, %Y'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ["_build", ".tox/*", ".git*"]
Пример #34
0
import sys

from setup_helpers import require_python, get_version, long_description
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand

require_python(50659568)
__version__ = get_version('blackhole/__init__.py')

desc = """Blackhole is an email MTA that pipes all mail to /dev/null.

Blackhole is built on top of asyncio and utilises `async` and `await`
statements on available in Python 3.5 and above.

While Blackhole is an MTA (mail transport agent), none of the actions
performed of SMTP or SMTPS are actually processed and no email or sent or
delivered."""


class PyTest(TestCommand):
    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = [
            '--doctest-modules', '--verbose', './blackhole', './tests'
        ]
        self.test_suite = True

    def run_tests(self):
        import pytest
        sys.exit(pytest.main(self.test_args))