forked from konomae/lastpass-python
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
40 lines (36 loc) · 1.23 KB
/
Copy pathsetup.py
File metadata and controls
40 lines (36 loc) · 1.23 KB
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
fromsetuptoolsimportsetup
defget_version():
importre
withopen('lastpass/__init__.py', 'r') asf:
forlineinf:
m=re.match(r'__version__ = [\'"]([^\'"]*)[\'"]', line)
ifm:
returnm.group(1)
raiseRuntimeError('Cannot find version information')
setup(
name='lastpass-python',
version=get_version(),
description='LastPass Python API (unofficial)',
long_description=open('README.rst').read(),
license='MIT',
author='konomae',
author_email='konomae@users.noreply.github.com',
url='https://github.com/konomae/lastpass-python',
packages=['lastpass'],
install_requires=[
"requests>=1.2.1,<=3.0.0",
"pycrypto>=2.6.1",
],
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.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: CPython',
],
)