mirror of https://github.com/tilde-team/ttbp
fix packaging
This commit is contained in:
parent
476f2c231a
commit
4e198eaa9d
|
@ -0,0 +1,3 @@
|
|||
include ttbp/config/defaults/*.txt
|
||||
include ttbp/config/defaults/style.css
|
||||
include doc/manual.html
|
10
setup.py
10
setup.py
|
@ -15,7 +15,7 @@ setup(
|
|||
'License :: OSI Approved :: MIT License',
|
||||
],
|
||||
keywords='blog',
|
||||
packages=['ttbp'],
|
||||
packages=setuptools.find_packages(),
|
||||
install_requires = [
|
||||
'inflect==0.2.5',
|
||||
'mistune==0.8.1',
|
||||
|
@ -24,9 +24,9 @@ setup(
|
|||
],
|
||||
include_package_data = True,
|
||||
entry_points = {
|
||||
'console_scripts': [
|
||||
'feels = ttbp.ttbp:main',
|
||||
'ttbp = ttbp.ttbp:main',
|
||||
]
|
||||
'console_scripts': [
|
||||
'feels = ttbp.ttbp:main',
|
||||
'ttbp = ttbp.ttbp:main',
|
||||
]
|
||||
},
|
||||
)
|
||||
|
|
|
@ -43,10 +43,7 @@ import re
|
|||
import mistune
|
||||
import json
|
||||
|
||||
import chatter
|
||||
import config
|
||||
import gopher
|
||||
import util
|
||||
from ttbp import config, chatter, gopher, util
|
||||
|
||||
FEED = os.path.join("/home", "ben", "public_html", "ttbp", "index.html")
|
||||
SETTINGS = {}
|
||||
|
|
|
@ -6,8 +6,7 @@ import os
|
|||
import time
|
||||
import subprocess
|
||||
|
||||
import util
|
||||
import config
|
||||
from ttbp import util, config
|
||||
|
||||
GOPHER_PROMPT = """
|
||||
|
||||
|
|
10
ttbp/ttbp.py
10
ttbp/ttbp.py
|
@ -47,11 +47,7 @@ from six.moves import input
|
|||
|
||||
import inflect
|
||||
|
||||
import config
|
||||
import core
|
||||
import chatter
|
||||
import gopher
|
||||
import util
|
||||
from ttbp import config, core, chatter, gopher, util
|
||||
|
||||
__version__ = "0.12.2"
|
||||
__author__ = "endorphant <endorphant@tilde.town)"
|
||||
|
@ -226,7 +222,7 @@ def check_init():
|
|||
|
||||
print("\n\n")
|
||||
if os.path.exists(os.path.join(os.path.expanduser("~"),".ttbp")):
|
||||
if config.USER == "endorphant":
|
||||
if config.USER == "ben":
|
||||
print("hey boss! :D\n")
|
||||
else:
|
||||
print("{greeting}, {user}".format(greeting=chatter.say("greet"),
|
||||
|
@ -589,7 +585,7 @@ def main_menu():
|
|||
redraw()
|
||||
show_credits()
|
||||
elif choice == '9':
|
||||
subprocess.call(["lynx", os.path.join(config.INSTALL_PATH, "..", "doc", "manual.html")])
|
||||
subprocess.call(["lynx", "https://tilde.wiki/ttbp"])
|
||||
redraw()
|
||||
elif choice in QUITS:
|
||||
return stop()
|
||||
|
|
Loading…
Reference in New Issue