-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (36 loc) · 1.14 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
from os import path
from subprocess import check_output
from setuptools import setup
with open('./requirements.txt') as f:
required = f.read().splitlines()
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
version = '1.2.0'
try:
version = (
check_output(['git', 'describe', '--tags']).strip().decode().replace('v', '')
)
except Exception:
pass
setup(
name='wallabag2readwise',
version=version,
description='Push wallabag annotations to Readwise highlights',
long_description=long_description,
long_description_content_type='text/markdown',
author='rwxd',
author_email='[email protected]',
url='https://github.com/rwxd/wallabag2readwise',
license='MIT',
packages=['wallabag2readwise'],
install_requires=required,
entry_points={
'console_scripts': ['wallabag2readwise = wallabag2readwise.__main__:main']
},
classifiers=[
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
)