-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
56 lines (50 loc) · 1.68 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
import cat
if sys.version_info < (2, 6):
raise NotImplementedError("Sorry, you need at least Python 2.6 or Python 3.2+ to use random-cat.")
description = "Modul/Command Line Tool to get cat images"
cur_dir = os.path.dirname(__file__)
try:
with open(os.path.join(cur_dir, 'README.md')) as file:
long_description = file.read()
except:
long_description = description
setup(
name = "random-cat",
version = cat.__version__,
url = 'https://github.com/gravmatt/random-cat',
license = 'MIT',
description = description,
long_description = long_description,
author = 'René Tanczos',
author_email = '[email protected]',
keywords = 'cat kitten fun',
packages = find_packages(),
entry_points="""
[console_scripts]
randomcat = cat:main
""",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Topic :: Terminals',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Topic :: Artistic Software',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3'
]
)