Athanasius
872c65c280
setup.py: Do *not* install eddn-logs-archive script
...
This should be done manually, so as to be using the correct version from
the correct branch on the live service.
2022-01-18 14:16:45 +00:00
Athanasius
084ea35286
setup.py: Change "live branch for live" check to use setup_env.py
...
The whole build/install process is dependent on the EDDN_ENV value
anyway, so we might as well use it.
This way if a future setup doesn't have a specific string in CWD this
check doesn't break.
Yes, this whole check means you MUST be building from a git checkout,
not the files sourced by some other means.
2022-01-10 16:23:14 +00:00
Athanasius
35c4f89c68
setup.py: Detect if not using live
branch in live
directory
2022-01-10 16:17:39 +00:00
Athanasius
424fa72557
setup.py: Add 'enforce correct branch' TODO
2022-01-09 13:19:40 +00:00
Athanasius
6e07d1fd64
start-eddn-service: That's bounceR & enforce it
...
* Bouncer, not bounce.
* Check the provided eddn service is a valid one.
2021-07-09 08:59:50 +00:00
Athanasius
79d835616e
setup.py: Fix permissions on monitor/schemas after copy
...
In Python 2.7 shutil.copytree() *always* preserves the file mode. I
don't want to rely on changing them in the source as that's fragile.
So, write our own recursive function to fix them after the copy.
Once we move to Python 3 we can use the copy_function argument, combined
with the umask we already set.
2021-07-06 14:05:38 +00:00
Athanasius
adc03e35c6
setup.py: Note why start-eddn-service is copied to per-env name
2021-07-06 13:21:01 +00:00
Athanasius
f0581d4350
setup.py: But eddn-logs-archive is still in contrib
2021-07-06 12:57:00 +00:00
Athanasius
cc6477d0f3
setup.py: systemd files under top level, not contrib/ now
2021-07-06 12:56:11 +00:00
Athanasius
aa42aaf8b8
setup.py: Install the logs archivel script
2021-07-05 13:50:45 +00:00
Athanasius
1804799507
setup: Use setup_env.py for per-environment settings
2021-07-02 14:12:43 +00:00
Athanasius
086493b5bf
Make it possible to split dev and live installs
...
* Have 'dev' and 'live' components to many paths and file names.
* Have separate dev/live systemd start script configs.
* Have the systemd start script take a dev/live second argument.
* Try to ensure permissions on 'web' files by explicitly setting umask.
2021-07-01 16:52:25 +00:00
Athanasius
b58acec1c9
setup.py: Call out what we're doing in these extra steps
2021-06-14 16:45:41 +01:00
Athanasius
e8c1e3b03a
setup.py: Ensure CWD is as expected & copy example config if needs be
2021-06-14 16:42:02 +01:00
Athanasius
548f7c3cb3
setup.py: Get 'extra' files in place - monitor, schemas, systemd files
...
* 'monitor' files are for the web page showing status/stats.
* 'schema' files are a publically available copy of the schemas in-use.
* 'systemd' files are the start-<service> script and its config file.
2021-06-14 16:30:11 +01:00
Athanasius
152bd86818
setup.py: A little reformatting for readability
2021-06-14 15:55:49 +01:00
Athanasius
4edb1e7e21
setup.py: Comment about schemas only being for code, not website
2021-06-14 15:01:07 +01:00
Athanasius
f033b3621b
setup.py: Pin versions of install_requires packages
...
Yes, I know that:
<https://packaging.python.org/discussions/install-requires-vs-requirements/ >
says not to do this in install_requires. But there's at least the issue
of pyzmq's later versions just not working with python 2.7.
These are the versions we *know* work currently.
2021-06-14 14:53:54 +01:00
Athanasius
d185618d57
setup.py: Update author and URL
...
edcd@miggy.org is a placeholder, can be tweaked by Athanasius to
anything required.
2021-06-14 14:43:24 +01:00
Athanasius
1d871557eb
requirements: add strict_rfc3339
2021-05-16 12:41:23 +01:00
AnthorNet
5b74875630
Migrate SQLLite to MySQL
2018-10-23 09:58:21 +02:00
AnthorNet
2f72fe84fe
Moved _Core/_Conf to core/conf and some UTF8 fixes
2015-06-05 16:08:32 +02:00
AnthorNet
c8e21abea5
Added monitor first draft
2015-05-04 13:29:10 +02:00
AnthorNet
e25ac62154
Moved _version to _Conf/Version.py
2015-05-04 13:23:23 +02:00
AnthorNet
915aee107c
Fix missing schemas in setup
2015-05-04 12:57:40 +02:00
James Muscat
beb003ba2e
We have a dependency on argparse now.
2015-04-15 00:44:18 +01:00
James Muscat
43ff4cda3a
Move version number out of init file to its own file (consistent with
...
other projects).
2015-04-14 13:58:33 +01:00
James Muscat
95e83333d7
Add a StatsCollector to the Relay too.
2015-04-13 18:00:24 +01:00
James Muscat
1c72ff0e76
Also generate relay script.
2015-04-04 00:37:18 +01:00
James Muscat
608ff49723
Build an egg, and create an eddn-gateway script.
...
Currently can only be run from a directory where ../schemas exists
and is populated...
2015-04-04 00:31:17 +01:00