1
by Robert Collins
Minimal bootstrap. |
1 |
#!/usr/bin/env python
|
2 |
from distutils.core import setup |
|
3 |
import os.path |
|
4 |
||
5 |
import oopsrepository |
|
6 |
||
7 |
def get_version(): |
|
11
by Martin Pool
Actually return the version in setup.py |
8 |
return '.'.join( |
1
by Robert Collins
Minimal bootstrap. |
9 |
str(component) for component in oopsrepository.__version__[0:3]) |
10 |
||
11 |
||
12 |
def get_long_description(): |
|
13 |
manual_path = os.path.join( |
|
14 |
os.path.dirname(__file__), 'README') |
|
15 |
return open(manual_path).read() |
|
16 |
||
17 |
||
18 |
setup(name='oopsrepository', |
|
19 |
author='Launchpad Developers', |
|
20 |
author_email='launchpad-dev@lists.launchpad.net', |
|
21 |
url='https://launchpad.net/oopsrepository', |
|
22 |
description=('OOPS (Server fault report) repository.'), |
|
23 |
long_description=get_long_description(), |
|
24 |
version=get_version(), |
|
25 |
classifiers=["License :: OSI Approved :: GNU Affero General Public License v3"], |
|
26 |
packages=['oopsrepository', 'oopsrepository.tests', 'oopsrepository.testing'], |
|
27 |
)
|