-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·33 lines (31 loc) · 905 Bytes
/
setup.py
File metadata and controls
executable file
·33 lines (31 loc) · 905 Bytes
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
#!/usr/bin/env python
"""install rb user scripts"""
from setuptools import find_namespace_packages, setup
setup(
name="rb-user-scripts",
version="1.0",
description="Redbrick Scripts for users",
author="Redbrick",
author_email="admins@redbrick.dcu.ie",
url="https://github.com/redbrick/user-scripts",
install_requires=["utmp"],
package_dir={"": "src"},
packages=find_namespace_packages(where="src"),
# possible hack to install perl and bash scripts.
scripts=[
"bin/perl/chfn",
"bin/perl/chsh",
"bin/bash/noforward",
"bin/bash/nohelp",
"bin/bash/nopermwarn",
"bin/bash/news",
"bin/bash/usenet",
],
entry_points={
"console_scripts": [
"rbquota = rbquota.__main__:main",
"rbusers = rbusers.__main__:main",
"help = help.__main__:main",
],
},
)