Move eve.db to root

This commit is contained in:
blitzmann
2015-09-27 09:45:44 -04:00
parent 0f8992432b
commit a3b108382e
3 changed files with 2 additions and 9 deletions

View File

@@ -26,7 +26,6 @@ evemonMinVersion = "4081"
pyfaPath = None
savePath = None
staticPath = None
saveDB = None
gameDB = None
@@ -65,7 +64,6 @@ def defPaths():
global debug
global pyfaPath
global savePath
global staticPath
global saveDB
global gameDB
global saveInRoot
@@ -113,18 +111,13 @@ def defPaths():
#sl = StreamToLogger(stderr_logger, logging.ERROR)
#sys.stderr = sl
# Static EVE Data from the staticdata repository, should be in the staticdata
# directory in our pyfa directory
staticPath = os.path.join(pyfaPath, "staticdata")
# The database where we store all the fits etc
saveDB = os.path.join(savePath, "saveddata.db")
# The database where the static EVE data from the datadump is kept.
# This is not the standard sqlite datadump but a modified version created by eos
# maintenance script
gameDB = os.path.join(staticPath, "eve.db")
gameDB = os.path.join(pyfaPath, "eve.db")
## DON'T MODIFY ANYTHING BELOW ##
import eos.config

View File

@@ -6,7 +6,7 @@ Windows executable + installer: python setup.py bdist_msi
"""
packages = ['eos', 'gui', 'service', 'utils']
include_files = ['staticdata', 'gpl.txt']
include_files = ['eve.db', 'gpl.txt']
# this is read by dist.py to package the icons
icon_dirs = ['gui', 'icons', 'renders']