Esempio n. 1
0
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.
"""


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',
Esempio n. 2
0
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

import glob

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__ = '0.03'

setup(
    name='apesmit-python2',
    version=__version__,
    packages=find_packages(),
    include_package_data=True,
    maintainer='Michael Cho',
    maintainer_email='*****@*****.**',
    author="Florian Diesch",
    author_email="*****@*****.**",
    description='simple Python module to create XML sitemaps',
    long_description=long_description('README.md', ),
    license='GPLv2',
    url='http://www.florian-diesch.de/software/apesmit/',
Esempio n. 3
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',
Esempio n. 4
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',
Esempio n. 5
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(),
)
Esempio n. 6
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.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="*****@*****.**",
Esempio n. 7
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, 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'),
Esempio n. 8
0
# Software Foundation, either version 3 of the License, or (at your option)
# 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',
Esempio n. 9
0
from setup_helpers import require_python, get_version
from setuptools import setup, find_packages

require_python(0x30600f0)
__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.""",
    long_description_content_type="text/x-rst",
    url='http://aiosmtpd.readthedocs.io/',
    keywords='email',
    packages=find_packages(exclude=['examples']),
    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',
Esempio n. 10
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',
Esempio n. 11
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))