forked from juanpabloaj/slacker-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (39 loc) · 1.13 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
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(*paths):
""" read files """
with open(os.path.join(*paths), 'r') as filename:
return filename.read()
install_requires = read('requirements.txt').splitlines()
try:
import argparse
except ImportError:
install_requires.append('argparse')
setup(
name="slacker-cli",
version="0.4.0",
description="Send messages to slack from command line",
long_description=(read('README.rst')),
url="https://github.com/juanpabloaj/slacker-cli",
install_requires=install_requires,
license='MIT',
author="JuanPablo AJ",
author_email="jpabloaj@gmail.com",
packages=['slacker_cli'],
test_suite="tests",
entry_points={
'console_scripts': [
'slacker=slacker_cli:main',
],
},
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
]
)