Skip to content

Commit

Permalink
chord_federation -> chord_federation_service (fixes #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Jan 31, 2020
1 parent accc0e6 commit 76d5878
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CHORD Federation
# CHORD Federation Service

A service for federated search between CHORD nodes.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
from chord_lib.utils import get_own_version
from pathlib import Path

name = "chord_federation"
name = "chord_federation_service"
__version__ = get_own_version(os.path.join(Path(os.path.dirname(os.path.realpath(__file__))).parent, "setup.py"), name)
4 changes: 2 additions & 2 deletions chord_federation/app.py → chord_federation_service/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import chord_federation
import chord_federation_service
import tornado.gen
import tornado.ioloop
import tornado.web
Expand Down Expand Up @@ -32,7 +32,7 @@ async def get(self):
"url": "http://www.computationalgenomics.ca"
},
"contactUrl": "mailto:[email protected]",
"version": chord_federation.__version__
"version": chord_federation_service.__version__
})


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import tornado.ioloop


from chord_federation.app import application
from chord_federation.constants import CHORD_URLS_SET
from chord_federation_service.app import application
from chord_federation_service.constants import CHORD_URLS_SET

if __name__ == "__main__":
if not CHORD_URLS_SET:
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description = rf.read()

setuptools.setup(
name="chord_federation",
name="chord_federation_service",
version="0.1.0",

python_requires=">=3.6",
Expand All @@ -19,14 +19,14 @@
long_description=long_description,
long_description_content_type="text/markdown",

packages=["chord_federation"],
packages=["chord_federation_service"],
include_package_data=True,

entry_points={
"console_scripts": ["chord_federation=chord_federation.app:run"]
"console_scripts": ["chord_federation_service=chord_federation_service.app:run"]
},

url="https://github.com/c3g/chord_federation",
url="https://github.com/c3g/chord_federation_service",
license="LGPLv3",
classifiers=[
"Programming Language :: Python :: 3",
Expand Down

0 comments on commit 76d5878

Please sign in to comment.