-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
33 lines (28 loc) · 1.08 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
# type: ignore
import subprocess
import setuptools
with open('README.md', 'r') as fh:
long_description = fh.read().replace('](', '](https://raw.githubusercontent.com/FarisHijazi/rarbgcli/master/')
with open('requirements.txt', 'r') as fh:
rqeuirements = fh.readlines()
version = subprocess.Popen('git describe --abbrev=0 --tags', shell=True, stdout=subprocess.PIPE).stdout.read().decode().strip().lstrip('v')
setuptools.setup(
name='rarbgcli',
version=version,
description='Command line interface for rarbg.to',
long_description=long_description,
url='https://github.com/FarisHijazi/rarbgcli',
author='Faris Hijazi',
author_email='[email protected]',
long_description_content_type='text/markdown',
packages=setuptools.find_packages(),
python_requires='>=3.6',
install_requires=rqeuirements,
keywords='rarbg torrent rarbgcli rarbgapi cli api scraper rarbg-cli rarbg-api rarbg-scraper',
entry_points={
'console_scripts': [
'rarbgcli=rarbgcli.rarbgcli:cli',
'rarbg=rarbgcli.rarbgcli:cli',
]
},
)