forked from konomae/lastpass-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (35 loc) · 1.21 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
from setuptools import setup
def get_version():
import re
with open('lastpass/__init__.py', 'r') as f:
for line in f:
m = re.match(r'__version__ = [\'"]([^\'"]*)[\'"]', line)
if m:
return m.group(1)
raise RuntimeError('Cannot find version information')
setup(
name='lastpass-python',
version=get_version(),
description='Read only access to the online LastPass vault (unofficial)',
long_description=open('README.rst').read(),
license='MIT',
author='konomae',
author_email='[email protected]',
url='https://github.com/konomae/lastpass-python',
packages=['lastpass'],
install_requires=[
"requests>=1.2.1,<=3.0.0",
"pycryptodome>=3.4",
],
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
],
)