-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
48 lines (42 loc) · 1.45 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
import re
marlin = os.path.join("marlin", "scripts", "marlin.bat")
with open("README.md") as f:
readme = f.read()
with open("marlin/__init__.py", "r") as file:
regex_version = r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]'
version = re.search(regex_version, file.read(), re.MULTILINE).group(1)
setup(
name="marlin-bookmark",
version=version,
description="Swim between bookmarks in the terminal",
long_description=readme,
long_description_content_type='text/markdown',
author="Carlos Montecinos Geisse",
author_email="[email protected]",
url="https://github.com/wilfredinni/marlin",
license="MIT License",
packages=find_packages(exclude=("tests", "docs")),
include_package_data=True,
install_requires=["click", "colorama"],
python_requires=">=3",
scripts=[marlin],
entry_points={
"console_scripts": [
"bookmark = marlin.bookmark:main",
"rmark = marlin.rmark:main",
"marlin_help = marlin.marlin_help:main",
]
},
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
)