File: setup.py

package info (click to toggle)
obsub 0.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 160 kB
  • sloc: python: 351; makefile: 5; sh: 2
file content (39 lines) | stat: -rwxr-xr-x 1,160 bytes parent folder | download
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
31
32
33
34
35
36
37
38
39
#!/usr/bin/env python

import logging
from setuptools import setup


# Create a front page for PyPI:
long_description = None
try:
    long_description = open('README.rst', "rb").read().decode("utf-8")
    long_description += '\n' + open('CHANGELOG.rst').read()
except IOError:
    # some file is not available
    # just use what we got so far but issue a warning
    logging.warn('documentation files missing')


setup(
    name='obsub',
    version='0.2.1',
    description='Implementation of the observer pattern via a decorator',
    long_description=long_description,
    long_description_content_type='text/x-rst',
    author='Emilia Bopp',
    author_email='contact@ebopp.de',
    url='https://github.com/milibopp/obsub',
    py_modules=['obsub',],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development',
    ],
    license='Public Domain',
    tests_require='nose',
    test_suite='nose.collector',
)