-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (29 loc) · 992 Bytes
/
setup.py
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
#!/usr/bin/env python
import pytest
from setuptools import setup, Command
class TestCommand(Command):
"""Runs the test suite."""
description = """Runs the test suite."""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import pytest
pytest.main('./mediagoblin_scad/tests')
__VERSION__="0.1.0"
setup(
name='mediagoblin-scad',
version=__VERSION__,
description='SCAD mediatype for GNU Mediagoblin',
author='Rodrigo Rodrigues da Silva',
author_email='[email protected]',
url='https://gitorious.org/metamaquina/mediagoblin-scad',
download_url='https://gitorious.org/metamaquina/mediagoblin-scad/mediagoblin-scad-' + __VERSION__,
packages=['mediagoblin_scad'],
include_package_data=True,
license=(b'License :: OSI Approved :: GNU Affero General Public License '
b'v3 or later (AGPLv3+)'),
cmdclass={'test': TestCommand},
)