3 from setuptools import setup, Command
5 class TestCommand(Command):
6 """Runs the test suite."""
7 description = """Runs the test suite."""
9 def initialize_options(self):
11 def finalize_options(self):
15 pytest.main('./tests')
19 name='mediagoblin-hidden_original',
21 description='Hide original files, show only downsized ones.',
22 author='Kevin Brubeck Unhammer',
23 author_email='unhammer@fsfe.org',
24 url='https://gitorious.org/mediagoblin-stock/mediagoblin-hidden_original',
25 download_url='https://gitorious.org/mediagoblin-stock/mediagoblin-hidden_original/archive/mediagoblin-hidden_original-v'+__VERSION__+'.tar.gz',
26 packages=['mediagoblin_hidden_original'],
27 include_package_data=True,
28 license=(b'License :: OSI Approved :: GNU Affero General Public License '
29 b'v3 or later (AGPLv3+)'),
30 cmdclass={'test': TestCommand},