Example #1
0
File: arguments.py Project: jw/vonk
 def __init__(self, name):
     version = name + ": " + vonk.get_version()
     description = "Mimics SparkleShare but in Python and with Mercurial"
     parser = ArgumentParser(prog=name,
                             description=description)
     parser.add_argument('--version', action='version', version=version)
     configuration = "configuration file to be used (default is " + \
                     Defaults.CONFIGURATION_FILE + ")"
     parser.add_argument('--config', help=configuration)
     self.args = parser.parse_args()
Example #2
0
File: setup.py Project: jw/vonk
        sys.exit(errno)


def read(file):
    try:
        return open(join(dirname(__file__), file)).read()
    except IOError:
        return ""


install_requires = [l for l in read('requirements.txt').split('\n')
                    if l and not l.startswith('#')]

setup(
    name="vonk",
    version=get_version(),
    packages=find_packages(exclude="tests"),
    test_suite="tests",

    author="Jan Willems",
    author_email="*****@*****.**",
    description="Python based dropbox or fileshare",
    long_description=read("README.md"),
    url="https://bitbucket.org/elevenbits/vonk",
    license="Do whatever you want, don't blame me",
    keywords="mercurial sharing",

    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: Freely Distributable',