-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (29 loc) · 937 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_3dbureau/tests')
__VERSION__="0.1.0"
setup(
name='mediagoblin-3dbureau',
version=__VERSION__,
description='Purchase 3d designs',
author='Rodrigo Rodrigues da Silva',
author_email='[email protected]',
url='https://example.com/REPO',
download_url='https://example.com/mediagoblin-3dbureau-v' + __VERSION__,
packages=['mediagoblin_3dbureau'],
include_package_data=True,
license=(b'License :: OSI Approved :: GNU Affero General Public License '
b'v3 or later (AGPLv3+)'),
cmdclass={'test': TestCommand},
)