This repository has been archived by the owner on Sep 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
59 lines (52 loc) · 1.48 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import setuptools
import subprocess
from rnr import __version__
with open('README.md', 'r') as fh:
long_description = fh.read()
with open('requirements.txt', 'r') as fh:
requirements = [x.strip() for x in fh if x.strip()]
subprocess.run(['a2x', '-f', 'manpage', 'doc/rnr.1.adoc'])
subprocess.run(['a2x', '-f', 'manpage', 'doc/rnrview.1.adoc'])
setuptools.setup(
name='rnr',
version=__version__,
author='Franco Bugnano',
author_email="[email protected]",
description="The RNR File Manager (RNR's Not Ranger)",
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/bugnano/rnr',
packages=setuptools.find_packages(),
data_files=[
('share/rnr', [
'rnr.fish',
'rnr.sh',
]),
('share/man/man1', [
'doc/rnr.1',
'doc/rnrview.1',
])
],
entry_points={
'console_scripts': [
'rnr=rnr.__main__:main',
'rnrview=rnr.rnrview:main',
],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console :: Curses',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Topic :: Desktop Environment :: File Managers',
'Topic :: System',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
python_requires='>=3.6',
install_requires=requirements,
)