-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (43 loc) · 1.54 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
48
from setuptools import setup, find_packages
VERSION='1.0.3'
def get_requirements():
with open('requirements.txt') as requirements:
for req in requirements:
req = req.strip()
if req and not req.startswith('#') and not 'git+' in req:
yield req
def get_dependency_links():
with open('requirements.txt') as requirements:
for req in requirements:
req = req.strip()
if req and not req.startswith('#') and 'git+' in req:
yield req
def get_readme():
with open('README.md') as readme:
return readme.read()
setup(
name='lastpass-python-cli',
version=VERSION,
description='Lastpass Python CLI',
long_description=get_readme(),
long_description_content_type='text/markdown',
classifiers=[
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords=['lastpass','cli','lpass'],
author='Karthik Kumar Viswanathan',
author_email='karthikkumar@gmail.com',
url='https://github.com/guilt/lastpass-python-cli',
license='MIT',
include_package_data=True,
zip_safe=True,
packages=find_packages(include=['lastpass_python_cli']),
install_requires=list(get_requirements()),
dependency_links=list(get_dependency_links()),
)