mirror of
https://github.com/EDCD/EDDN.git
synced 2026-11-28 02:12:04 +03:00
More file re-arrangement, concentrating on running from source
With `import eddn.core.Validator` and the like it was actually picking up the egg versions of the files, not local ones. Currently this will run as per: cd src/eddn python Gateway.py --config ~/.local/share/eddn/dev/config.json # Conflicts: # src/eddn/schemas/fssbodysignals-README.md # src/eddn/schemas/fssbodysignals-v1.0.json # src/eddn/schemas/fsssignaldiscovered-README.md # src/eddn/schemas/fsssignaldiscovered-v1.0.json
This commit is contained in:
37 files changed
+24
-21
No files matched your search
@@ -84,7 +84,7 @@ setup(
|
||||
package_dir={"": "src"},
|
||||
# This includes them for the running code, but that doesn't help
|
||||
# serve them up for reference.
|
||||
data_files=[("eddn/src/schemas", glob.glob("src/schemas/*.json"))],
|
||||
data_files=[("eddn/schemas", glob.glob("src/eddn/schemas/*.json"))],
|
||||
# Yes, we pin versions. With python2.7 the latest pyzmq will NOT
|
||||
# work, for instance.
|
||||
install_requires=[
|
||||
@@ -99,10 +99,10 @@ setup(
|
||||
],
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"eddn-gateway = Gateway:main",
|
||||
"eddn-relay = Relay:main",
|
||||
"eddn-monitor = Monitor:main",
|
||||
"eddn-bouncer = Bouncer:main",
|
||||
"eddn-gateway = eddn.Gateway:main",
|
||||
"eddn-relay = eddn.Relay:main",
|
||||
"eddn-monitor = eddn.Monitor:main",
|
||||
"eddn-bouncer = eddn.Bouncer:main",
|
||||
],
|
||||
},
|
||||
)
|
||||
@@ -220,7 +220,7 @@ except OSError:
|
||||
pass
|
||||
|
||||
shutil.copytree(
|
||||
"src/schemas",
|
||||
"src/eddn/schemas",
|
||||
SHARE_EDDN_FILES / "schemas",
|
||||
copy_function=shutil.copyfile, # type: ignore
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user