Rename buku.py to buku
This commit is contained in:
parent
b216ab3679
commit
a49da5f549
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@
|
||||
buku.egg-info
|
||||
dist
|
||||
build
|
||||
buku.py
|
||||
|
2
Makefile
2
Makefile
@ -12,7 +12,7 @@ install:
|
||||
install -m755 -d $(MANDIR)
|
||||
install -m755 -d $(DOCDIR)
|
||||
gzip -c buku.1 > buku.1.gz
|
||||
install -m755 buku.py $(BINDIR)/buku
|
||||
install -m755 buku $(BINDIR)/buku
|
||||
install -m644 buku.1.gz $(MANDIR)
|
||||
install -m644 README.md $(DOCDIR)
|
||||
rm -f buku.1.gz
|
||||
|
@ -141,8 +141,8 @@ To remove, run:
|
||||
|
||||
`buku` is a standalone utility. From the containing directory, run:
|
||||
|
||||
$ chmod +x buku.py
|
||||
$ ./buku.py
|
||||
$ chmod +x buku
|
||||
$ ./buku
|
||||
|
||||
### Shell completion
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
certifi
|
||||
urllib3>=1.13.1
|
||||
beautifulsoup4>=4.4.1
|
||||
certifi
|
||||
cryptography>=1.2.3
|
||||
setuptools
|
||||
urllib3>=1.13.1
|
||||
|
4
setup.py
4
setup.py
@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import re
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
@ -9,6 +10,8 @@ if sys.version_info < (3, 4):
|
||||
print('ERROR: Buku requires at least Python 3.4 to run.')
|
||||
sys.exit(1)
|
||||
|
||||
shutil.copyfile('buku', 'buku.py')
|
||||
|
||||
with open('buku.py', encoding='utf-8') as f:
|
||||
version = re.search('__version__ = \'([^\']+)\'', f.read()).group(1)
|
||||
|
||||
@ -77,6 +80,7 @@ setup(
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Console',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: End Users/Desktop',
|
||||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
|
||||
'Natural Language :: English',
|
||||
|
Loading…
Reference in New Issue
Block a user