2015-10-16 00:56:34 +02:00
|
|
|
from distutils.core import setup
|
|
|
|
import os
|
2014-05-29 01:40:58 +02:00
|
|
|
|
2018-05-12 17:19:16 +02:00
|
|
|
cheat_files = []
|
|
|
|
for f in os.listdir('cheat/cheatsheets/'):
|
|
|
|
cheat_files.append(os.path.join('cheat/cheatsheets/',f))
|
|
|
|
|
2014-04-27 05:31:13 +02:00
|
|
|
setup(
|
2015-10-16 00:56:34 +02:00
|
|
|
name = 'cheat',
|
2019-01-27 20:36:57 +01:00
|
|
|
version = '2.4.0',
|
2015-10-16 00:56:34 +02:00
|
|
|
author = 'Chris Lane',
|
|
|
|
author_email = 'chris@chris-allen-lane.com',
|
|
|
|
license = 'GPL3',
|
|
|
|
description = 'cheat allows you to create and view interactive cheatsheets '
|
|
|
|
'on the command-line. It was designed to help remind *nix system '
|
|
|
|
'administrators of options for commands that they use frequently, but not '
|
|
|
|
'frequently enough to remember.',
|
|
|
|
url = 'https://github.com/chrisallenlane/cheat',
|
|
|
|
packages = [
|
|
|
|
'cheat',
|
|
|
|
'cheat.test',
|
|
|
|
],
|
|
|
|
scripts = ['bin/cheat'],
|
2014-04-27 05:31:13 +02:00
|
|
|
install_requires = [
|
|
|
|
'docopt >= 0.6.1',
|
|
|
|
'pygments >= 1.6.0',
|
2018-05-12 17:19:16 +02:00
|
|
|
],
|
|
|
|
data_files = [
|
|
|
|
('/usr/share/cheat', cheat_files),
|
2018-05-24 14:12:43 +02:00
|
|
|
('/etc', ['config/cheat']),
|
2018-05-12 17:19:16 +02:00
|
|
|
],
|
2014-04-27 05:31:13 +02:00
|
|
|
)
|