-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
28 lines (25 loc) · 862 Bytes
/
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
#!/usr/bin/env python
import os
from setuptools import setup
setupconf = dict(
name = 'readme_script',
version = '0.0.1',
url = 'https://github.com/pymen/readmehorton',
author = 'Anton Sedov',
author_email = '[email protected]',
description = 'Generation of reame files with content of current and sub folders',
keywords = 'generation readme',
packages = ['readme_script'],
package_data = {'': ['*.ini', '*.MD']},
data_files=[("/usr/local/bin", ["readme"])],
classifiers = [
'Intended Audience :: Developers',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
)
if __name__ == '__main__':
setup(**setupconf)
copied_file = os.path.join("/usr/local/bin","readme")
os.system('sudo bash update_chmod.sh')