Esempio n. 1
0
""" Password strength and validation """

from promebuilder import gen_metadata, setup

METADATA = gen_metadata(
    name='password_strength',
    email="*****@*****.**",
    url='https://github.com/prometeia/py-password-strength',
    description=__doc__,
    keywords=['password', 'strength', 'policy', 'security'],
)

METADATA.update(
    dict(author='Mark Vartanyan',
         author_email='*****@*****.**',
         license='BSD',
         classifiers=[
             'Development Status :: 5 - Production/Stable',
             'Intended Audience :: Developers',
             'Natural Language :: English',
             'Operating System :: OS Independent',
             'Programming Language :: Python :: 2',
             'Programming Language :: Python :: 3',
             'Topic :: Software Development :: Libraries :: Python Modules',
         ]))

if METADATA.get('conda_command_tests'):
    # Disabling for generic problem with mplotqueries
    METADATA['conda_command_tests'] = False
if METADATA.get('conda_import_tests'):
    # Disabling for generic problem with mplotqueries
Esempio n. 2
0
import os
import shutil
import sys
import six
from promebuilder import gen_metadata, setup

METADATA = gen_metadata(
    name="promebuilder_template",
    description="Promebuilder Template Project",
    email="*****@*****.**",
    keywords="prometeia template project pipeline jenkins",
)

if __name__ == '__main__':
    setup(METADATA)
    # Don't mess with STDOUT, il would parsed by jenkins to discover package name!
    old_stdout = sys.stdout
    sys.stdout = mystdout = six.StringIO()
    doc_final_path = os.path.join("dist", "doc", METADATA["name"],
                                  METADATA["version"])
    try:
        from pdoc.cli import main, parser

        print("INFO: Generating doc in {}".format(doc_final_path))
        params = "-o {} --html --template-dir template_dir {} --force".format(
            os.path.join("dist", "doc", METADATA["name"]),
            METADATA["name"]).split()
        main(parser.parse_args(params))
        if os.path.isdir(doc_final_path):
            shutil.rmtree(doc_final_path)
        os.rename(
Esempio n. 3
0
# -*- coding: utf-8 -*-
from promebuilder import gen_metadata, setup
from setuptools import find_packages

METADATA = gen_metadata(
    name="pythokerlib",
    description="PythoKerLib package",
    email="*****@*****.**",
    keywords="multikernel pytho jupyter",
    url="https://github.com/pythoext/pythokerlib2",
    addpythonver=False
)

if __name__ == '__main__':
    setup(METADATA)
from setuptools import find_packages
from setup import __version__, __description__, __license__, __author__, __email__
from promebuilder import gen_metadata, setup
from promebuilder.utils import VERSIONFILE

with open(VERSIONFILE, 'w') as verfile:
    vv = __version__.split('.')
    while len(vv) < 3:
        vv.append('0')
    verfile.write('.'.join(vv))

METADATA = gen_metadata(
    name='django-mongoengine',
    description=__description__,
    url='https://github.com/prometeia/django-mongoengine',
    email="*****@*****.**",
    keywords="mongodb mongoengine django odm",
    package_data={'django-mongoengine': ['*.*']}
)
METADATA.update(dict(
    license=__license__,
    author=__author__,
    author_email=__email__,
    packages=find_packages(exclude=('doc', 'docs')),
    include_package_data=True,
    test_suite='nose.collector',
))

# Non importabile senza django configurato
if METADATA.get('conda_import_tests'):
    METADATA['conda_import_tests'] = False
Esempio n. 5
0
# -*- coding: utf-8 -*-
from promebuilder import gen_metadata, setup

METADATA = gen_metadata(
    name="wsgidavpythodc",
    description=
    "Custom domain controller for integrating PYTHO auth with wsgidav service",
    email="*****@*****.**",
    keywords="pytho wsgidav",
    url="https://github.com/prometeia/wsgidavpythodc")

if __name__ == '__main__':
    setup(METADATA)
Esempio n. 6
0
# -*- coding: utf-8 -*-
from shutil import copyfile
from promebuilder import gen_metadata, setup
from promebuilder.utils import REQUIREMENTSFILE

BUILREQFILE = 'build-requirements.txt'

print("Duplicating {} into {}".format(BUILREQFILE, REQUIREMENTSFILE))
copyfile(BUILREQFILE, REQUIREMENTSFILE)

METADATA = gen_metadata(
    name="promebuilder",
    description="Prometeia Package Builder",
    email="*****@*****.**",
    url="https://github.com/prometeia/promebuilder",
    keywords="setup build pipeline ci",
    entry_points={
        'console_scripts': [
            'promescanner = promebuilder.scanner:scan_here',
            'activatenrt = promebuilder.activatenrt:activate_nrt'
        ]
    })

if __name__ == '__main__':
    setup(METADATA)