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
41 lines (37 loc) · 1.31 KB
/
setup.py
File metadata and controls
41 lines (37 loc) · 1.31 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
41
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='LastPass Python API (unofficial)',
long_description=open('README.rst').read(),
license='MIT',
author='konomae,imoochnick',
author_email='konomae@users.noreply.github.com,imoochnick@users.noreply.github.com',
url='https://github.com/igorshare/lastpass-python',
packages=['lastpass'],
install_requires=[
"requests>=1.2.1,<=3.0.0",
#"pycrypto>=2.6.1",
"pycryptodome>=3.4.5",
],
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',
],
)