Exemplo n.º 1
0
def parse_options():
    parser = argparse.ArgumentParser()
    parser.add_argument('-a',
                        required=True,
                        help='analyze data file (YAML)',
                        metavar='FILE',
                        dest='analyzedata')
    parser.add_argument('-t',
                        help='train data file (CSV)',
                        metavar='FILE',
                        dest='traindata')
    parser.add_argument('-v',
                        '--version',
                        action='version',
                        version='%(prog)s ' + get_version())
    return parser.parse_args()
Exemplo n.º 2
0
#!/usr/bin/env python

from setuptools import setup, find_packages
from jubahomes.version import get_version

setup(
    name='jubahomes',
    version=get_version(),
    description='A sample to guess your rent.',
    packages=find_packages(),
    install_requires=[
        'pyyaml',
        'jubatus',
    ],
    entry_points={'console_scripts': [
        'jubahomes = jubahomes.main:main',
    ]},
)
Exemplo n.º 3
0
def parse_options():
    parser = argparse.ArgumentParser()
    parser.add_argument("-a", required=True, help="analyze data file (YAML)", metavar="FILE", dest="analyzedata")
    parser.add_argument("-t", help="train data file (CSV)", metavar="FILE", dest="traindata")
    parser.add_argument("-v", "--version", action="version", version="%(prog)s " + get_version())
    return parser.parse_args()
Exemplo n.º 4
0
#!/usr/bin/env python

from setuptools import setup, find_packages
from jubahomes.version import get_version

setup(
    name             = 'jubahomes',
    version          = get_version(),
    description      = 'A sample to guess your rent.',
    packages         = find_packages(),
    install_requires = [
        'pyyaml',
        'jubatus',
    ],
    entry_points     = {
        'console_scripts': [
            'jubahomes = jubahomes.main:main',
        ]
    },
)