forked from jonathanrocher/sprint_tutorial
-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
33 lines (28 loc) · 942 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
32
33
import os
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "sprint_tutorial",
version = "0.0.1",
author = "Jonathan Rocher",
author_email = "[email protected]",
description = ("Sample repository to learn to sprint on open source "
"software"),
license = "BSD",
keywords = "example sprint tutorial",
url = "https://github.com/jonathanrocher/sprint_tutorial",
packages=['sprint_tutorial'],
long_description=read('README.md'),
classifiers=[
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
],
)