Skip to content
Snippets Groups Projects
Commit 4c06ed76 authored by Daniel Lyons's avatar Daniel Lyons
Browse files

alma_reingester, schema, events

parent 5fdadf5b
No related branches found
No related tags found
No related merge requests found
Showing
with 95 additions and 6 deletions
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pathlib import Path
from setuptools import setup
VERSION = open('src/alma_reingester/_version.py').readlines()[-1].split()[-1].strip("\"'")
README = Path('README.md').read_text()
setup(
name=Path().absolute().name,
version=VERSION,
description='NRAO Archive ALMA Reingester',
long_description=README,
author='NRAO SSA Team',
author_email='dms-ssa@nrao.edu',
url='TBD',
license="GPL",
install_requires=['cx-Oracle', 'pycapo', 'psycopg2', 'events', 'schema'],
keywords=[],
packages=['alma_reingester'],
package_dir={'':'src'},
classifiers=[
'Programming Language :: Python :: 3.8'
],
entry_points={
'console_scripts': [
'alma-reingester = alma_reingester.reingester:main',
'ous-importer = alma_reingester.ousimporter:main',
]
},
)
""" Version information for this package, don't put anything else here. """
___version___ = '4.0a1.dev1'
...@@ -4,7 +4,7 @@ import shutil ...@@ -4,7 +4,7 @@ import shutil
import cx_Oracle as almadb import cx_Oracle as almadb
import psycopg2 as archivedb import psycopg2 as archivedb
import sys import sys
from pyat import events from events import events
from pycapo import CapoConfig from pycapo import CapoConfig
""" """
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
Unsticks the reingestion queue by sending failure completions on running reingestions. Unsticks the reingestion queue by sending failure completions on running reingestions.
""" """
from pyat.events import events from events import events
from pyat.schema import create_session from schema import create_session
from pyat.schema.model import AlmaReingestionQueue from schema.model import AlmaReingestionQueue
def main(): def main():
session = create_session('SDM') session = create_session('SDM')
......
from pyat.events.events import *
\ No newline at end of file
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pathlib import Path
from setuptools import setup, find_packages
VERSION = open('src/events/_version.py').readlines()[-1].split()[-1].strip("\"'")
README = Path('README.md').read_text()
setup(
name=Path().absolute().name,
version=VERSION,
description='NRAO Archive Event Library',
long_description=README,
author='NRAO SSA Team',
author_email='dms-ssa@nrao.edu',
url='TBD',
license="GPL",
install_requires=['pika', 'pycapo'],
keywords=[],
packages=['events'],
package_dir={'':'src'},
classifiers=[
'Programming Language :: Python :: 3.8'
]
)
""" Version information for this package, don't put anything else here. """
___version___ = '0.1.5'
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pathlib import Path
from setuptools import setup, find_packages
VERSION = open('src/schema/_version.py').readlines()[-1].split()[-1].strip("\"'")
README = Path('README.md').read_text()
setup(
name=Path().absolute().name,
version=VERSION,
description='NRAO Archive Schema Library',
long_description=README,
author='NRAO SSA Team',
author_email='dms-ssa@nrao.edu',
url='TBD',
license="GPL",
install_requires=['sqlalchemy', 'pycapo', 'psycopg2', 'mysqlclient', 'cx-Oracle'],
keywords=[],
packages=['schema'],
package_dir={'':'src'},
classifiers=[
'Programming Language :: Python :: 3.8'
]
)
# publish our behavior-enhanced table classes # publish our behavior-enhanced table classes
import sqlalchemy import sqlalchemy
from pyat.schema.model import * from .model import *
from sqlalchemy.orm import sessionmaker from sqlalchemy.orm import sessionmaker
from pycapo import CapoConfig from pycapo import CapoConfig
......
""" Version information for this package, don't put anything else here. """
___version___ = '4.0a1.dev1'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment