File: setup.py

package info (click to toggle)
python-peak.rules 0.5a1%2Br2713-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 632 kB
  • ctags: 658
  • sloc: python: 3,625; makefile: 29
file content (30 lines) | stat: -rw-r--r-- 882 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from setuptools import setup

version = '0.2.2'

def get_description():
    lines = []
    for line in open('prioritized_methods.py').readlines()[1:]:
        if line.startswith('"""'): break
        lines.append(line)
    return ''.join(lines)


setup(name='prioritized_methods',
    version=version,
    description="An extension to PEAK-Rules to prioritize methods "\
                "in order to to avoid AmbiguousMethods situations",
    long_description=get_description(),
    download_url='http://toscawidgets.org/download',
    classifiers=[],
    keywords='PEAK rules generic functions dispatch',
    author='Alberto Valverde Gonzalez',
    author_email='alberto@toscat.net',
    license='MIT',
    py_modules=["prioritized_methods"],
    test_suite = "nose.collector",
    zip_safe=True,
    install_requires=[
        "PEAK-Rules>=0.5a1.dev-r2562,==dev",
        ]
    )