Gitlab Community Edition Instance

Commit 8fd368a7 authored by Marcel Hellkamp's avatar Marcel Hellkamp
Browse files

Renamed entire library to pycdstar3

A 'pycdstar' library already exists (for CDSTAR 2)
parent 0aa5ec3e
......@@ -7,15 +7,15 @@ import json
import os
import sys
from pycdstar import __version__ as VERSION
from pycdstar.client import ApiError
from pycdstar.cli._utils import Printer
from pycdstar.cli.commands import BUILDIN_COMMANDS
from pycdstar.cli.context import CliContext
from pycdstar3 import __version__ as VERSION
from pycdstar3.client import ApiError
from pycdstar3.cli._utils import Printer
from pycdstar3.cli.commands import BUILDIN_COMMANDS
from pycdstar3.cli.context import CliContext
__ALL__ = ["main", "printer"]
parser = argparse.ArgumentParser(prog="pycdstar")
parser = argparse.ArgumentParser(prog="pycdstar3")
parser.add_argument("-C", metavar="DIR", default=".",
help="Change the current working directory before executing the command")
parser.add_argument("-c", "--config", metavar="FILE",
......@@ -43,7 +43,7 @@ def main(args=None):
opts = parser.parse_args(args)
if opts.version:
print("pycdstar-" + VERSION)
print("pycdstar3-" + VERSION)
sys.exit(0)
# Set root logging level based on verbosity setting
......
#: Commands to load automatically. The module pycdstar.cli.NAME must have register(subparsers) defined.
#: Commands to load automatically. The module pycdstar3.cli.NAME must have register(subparsers) defined.
BUILDIN_COMMANDS = ["init", "put", "get", "acl"]
from distutils.core import setup
import pycdstar
import pycdstar3
def read(name):
......@@ -9,11 +9,11 @@ def read(name):
setup(
name='pycdstar',
version=pycdstar.__version__,
name='pycdstar3',
version=pycdstar3.__version__,
author='Marcel Hellkamp',
author_email='marc@gsites.de',
packages=['pycdstar', ],
packages=['pycdstar3'],
license='LICENSE.txt',
description="Library and command-line client to access CDSTAR (3.0+)",
long_description=read('README.md'),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment