-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (44 loc) · 1.42 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
_____ __
/ \ / |
/$$$$$$ |$$ | ______ _______ _______ __ __
$$ | $$/ $$ | / \ / |/ |/ | / |
$$ | $$ | $$$$$$ |/$$$$$$$//$$$$$$$/ $$ | $$ |
$$ | __ $$ | / $$ |$$ \$$ \ $$ | $$ |
$$ \__/ |$$ |/$$$$$$$ | $$$$$$ |$$$$$$ |$$ \__$$ |
$$ $$/ $$ |$$ $$ |/ $$// $$/ $$ $$ |
$$$$$$/ $$/ $$$$$$$/ $$$$$$$/ $$$$$$$/ $$$$$$$ |
/ \__$$ |
$$ $$/
$$$$$$/
'''
from distutils.core import setup
import Classy
import os
import sys
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
if sys.argv[-1] == 'uninstall':
os.system('pip uninstall Classy')
sys.exit()
if sys.argv[-1] == "install":
os.system('pip install Classy')
sys.exit()
setup(
name='Classy',
version= Classy.__version__,
author='Philip Deuchler',
author_email='pbdeuchler@gmail.com',
packages=['Classy'],
package_data={'': ['LICENSE', 'README.rst']},
scripts=[],
url='http://pypi.python.org/pypi/classy/',
license=open('LICENSE.txt').read(),
description='Abstracted naive Bayes classifier for rest of us (Requires Python 2.7 or later)',
long_description= open('README.rst').read() + '\n\n' +
open('HISTORY.rst').read(),
install_requires=[],
)