-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (34 loc) · 1.1 KB
/
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
38
39
40
41
# Copyright (c) Min RK.
# Distributed under the terms of the 2-clause BSD License.
from __future__ import print_function
import sys
if 'bdist_wheel' in sys.argv:
import setuptools
from distutils.core import setup
with open('showpkg.py') as f:
for line in f:
if line.startswith('__version__'):
__version__ = eval(line.split('=', 1)[1])
break
setup_args = dict(
name = "showpkg",
version = __version__,
py_modules = ["showpkg"],
author = "Min Ragan-Kelley",
author_email = "benjaminrk@gmail.com",
url = 'http://github.com/minrk/showpkg',
description = "Show packages",
long_description = "",
license = "BSD",
classifiers = [
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
setup(**setup_args)