-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·41 lines (35 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
#!/usr/bin/env python
import subprocess
import sys
from setuptools import find_packages
from setuptools import setup
__version__ = '2.2.4'
# publish helper
if sys.argv[-1] == 'publish':
for cmd in [
'python setup.py sdist upload',
'git tag {}'.format(__version__),
'git push origin master --tag']:
subprocess.check_call(cmd, shell=True)
sys.exit(0)
setup(
name='gotenshita',
version=__version__,
packages=find_packages(),
description='Gotenshita notifier.',
long_description=open('README.rst').read(),
author='Kentaro Wada',
author_email='www.kentaro.wada@gmail.com',
url='http://github.com/wkentaro/gotenshita',
install_requires=open('requirements.txt').readlines(),
license='MIT',
keywords='utility',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP',
],
entry_points={'console_scripts': ['gotenshita=gotenshita:main']},
)