-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
executable file
·37 lines (32 loc) · 951 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
34
35
36
37
#!/usr/bin/env python
import os
from setuptools import setup
import opster
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def desc():
info = read('README.rst')
try:
return info + '\n\n' + read('docs/changelog.rst')
except IOError:
# no docs
return info
setup(
name='opster',
description='command line parsing speedster',
long_description=desc(),
license='BSD',
version = opster.__version__,
author = 'Alexander Solovyov',
author_email = 'alexander@solovyov.net',
url='http://github.com/piranha/opster/',
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development',
],
py_modules=['opster'],
platforms='any')