-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
47 lines (43 loc) · 1.43 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
#!/usr/bin/env python
import setuptools
def get_version(filename):
with open(filename) as in_fh:
for line in in_fh:
if line.startswith('__version__'):
return line.split('=')[1].strip()[1:-1]
raise ValueError("Cannot extract version from %s" % filename)
setuptools.setup(
name="tmuxpair",
version=get_version("tmuxpair.py"),
url="https://github.com/goerz/tmuxpair#tmuxpair",
author="Michael Goerz",
author_email="[email protected]",
description=(
"Command line script for setting up a temporary tmux session for "
"pair programming"
),
install_requires=[
'Click>=5',
'sshkeys>=0.5',
],
extras_require={'dev': ['pytest', 'coverage', 'pytest-cov']},
py_modules=['tmuxpair'],
entry_points='''
[console_scripts]
tmuxpair=tmuxpair:main
''',
classifiers=[
'Environment :: Console',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
)