mirror of
https://github.com/cheat/cheat.git
synced 2024-11-23 22:41:35 +01:00
0a3fd3559c
The `setup.py` script no longer attempts to install files to privileged system directories. (Previously, it attempted to do this in order to enable command-line autocompletion.) In lieu of doing this within the installer directly, I have simply included brief instructions explaining how to configure this manually. Version bumped accordingly.
29 lines
890 B
Python
29 lines
890 B
Python
from distutils.core import setup
|
|
import os
|
|
|
|
setup(
|
|
name = 'cheat',
|
|
version = '2.0.6',
|
|
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.cheatsheets',
|
|
'cheat.test',
|
|
],
|
|
package_data = {
|
|
'cheat.cheatsheets': [f for f in os.listdir('cheat/cheatsheets') if '.' not in f]
|
|
},
|
|
scripts = ['bin/cheat'],
|
|
install_requires = [
|
|
'docopt >= 0.6.1',
|
|
'pygments >= 1.6.0',
|
|
]
|
|
)
|