-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
22 lines (19 loc) · 745 Bytes
/
setup.py
File metadata and controls
22 lines (19 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from setuptools import setup, find_packages
import re
with open('requirements.txt', 'r') as requirements_file:
REQUIRED_PACKAGES = requirements_file.read()
regex = r"(\d*\.\d*)"
with open('__version__.py') as version_file:
VERSION = re.findall(regex, version_file.read())[0]
setup(name='cheat',
version=VERSION,
description='An awesome cheatsheet manager',
url='https://github.com/MCSH/cheat',
author='Sajjad Heydari',
author_email='mcshemail@gmail.com',
license='MIT',
install_requires=REQUIRED_PACKAGES,
packages=find_packages(),
include_package_data=True,
zip_safe=False, package_data={'cheats': ['*.yaml'], },
entry_points={'console_scripts': ['cheat = cheat:main'], })