-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
40 lines (37 loc) · 1.05 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
from setuptools import setup
with open('Readme.md', 'r') as f:
long_description = f.read()
for line in open('cpass.py', 'r'):
if line.startswith('version'):
version = line.split('=')[1].strip(' \"\'\n')
break
setup(
name='cpass',
version=version,
description='A TUI for pass, the standard Unix password manager',
long_description=long_description,
long_description_content_type="text/markdown",
license='MIT',
author='Lu Xu',
author_email='[email protected]',
url='https://github.com/OliverLew/cpass',
# Single-file module and a console script
py_modules=['cpass'],
entry_points={
'console_scripts': [
'cpass = cpass:main',
],
},
python_requires='>=3',
install_requires=['urwid'],
data_files=[('share/doc/cpass', [
'cpass.cfg',
'CHANGELOG',
'Readme.md',
])],
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3'
],
)