Commit 8f01d53d authored by Javier Quinteros's avatar Javier Quinteros
Browse files

Rename the package to dastools instead of dasscripts/daslib

parent 06436aa2
include daslib/data/filters/*.*
include dastools/data/filters/*.*
daslib
======
dastools
========
.. image:: https://img.shields.io/pypi/v/daslib.svg
:target: https://img.shields.io/pypi/v/daslib.svg
.. image:: https://img.shields.io/pypi/v/dastools.svg
:target: https://img.shields.io/pypi/v/dastools.svg
.. image:: https://img.shields.io/pypi/pyversions/daslib.svg
:target: https://img.shields.io/pypi/pyversions/daslib.svg
.. image:: https://img.shields.io/pypi/pyversions/dastools.svg
:target: https://img.shields.io/pypi/pyversions/dastools.svg
.. image:: https://img.shields.io/pypi/format/daslib.svg
:target: https://img.shields.io/pypi/format/daslib.svg
.. image:: https://img.shields.io/pypi/format/dastools.svg
:target: https://img.shields.io/pypi/format/dastools.svg
.. image:: https://img.shields.io/pypi/status/daslib.svg
:target: https://img.shields.io/pypi/status/daslib.svg
.. image:: https://img.shields.io/pypi/status/dastools.svg
:target: https://img.shields.io/pypi/status/dastools.svg
Tools to work with data generated by DAS systems.
......
......@@ -23,8 +23,8 @@ import pprint
import datetime
from obspy import Trace
from .tdms import TDMS
from daslib import __version__
import daslib.archive as da
from dastools import __version__
import dastools.archive as da
import inspect
......
# -*- coding: utf-8 -*-
#
# daslib documentation build configuration file, created by
# dastools documentation build configuration file, created by
# sphinx-quickstart on Dec 19 21:39:29 2019.
#
# This file is execfile()d with the current directory set to its
......@@ -14,7 +14,7 @@
import sys
import os
from daslib import __version__
from dastools import __version__
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
......@@ -47,7 +47,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'daslib'
project = u'dastools'
copyright = u'2019-2021, Javier Quinteros - Deutsches GFZ Potsdam'
author = u'Javier Quinteros'
......@@ -121,7 +121,7 @@ html_theme_options = {
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
html_title = 'Daslib Documentation'
html_title = 'dastools Documentation'
# A shorter title for the navigation bar. Default is the same as html_title.
# html_short_title = None
......@@ -187,7 +187,7 @@ html_static_path = ['.static']
# html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'Daslib-doc'
htmlhelp_basename = 'dastools-doc'
# -- Options for LaTeX output ---------------------------------------------
......@@ -208,7 +208,7 @@ latex_elements = {
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'Daslib-Documentation.tex', u'Daslib Documentation',
('index', 'dastools-Documentation.tex', u'dastools Documentation',
u'Javier Quinteros', 'manual')
]
......@@ -238,7 +238,7 @@ latex_logo = 'GFZ-logo.jpg'
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'daslib', u'Daslib Documentation',
('index', 'dastools', u'dastools Documentation',
[u'Javier Quinteros'], 1)
]
......@@ -252,8 +252,8 @@ man_pages = [
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'Daslib', u'Daslib Documentation',
u'Javier Quinteros', 'Daslib', 'Tools to convert and manage data from DAS systems.',
('index', 'dastools', u'dastools Documentation',
u'Javier Quinteros', 'dastools', 'Tools to convert and manage data from DAS systems.',
'Miscellaneous'),
]
......
Daslib documentation
####################
dastools documentation
######################
.. toctree::
:maxdepth: 2
......
Daslib User documentation
#########################
dastools User documentation
###########################
Summary
=======
Daslib is basically a set of tools to properly manage seismic
dastools is basically a set of tools to properly manage seismic
waveforms from DAS systems.
......@@ -41,7 +41,7 @@ Installation
This software can be easily installed by means of pip with the following command ::
$ sudo pip install daslib
$ sudo pip3 install dastools
Optionally you could run it as a normal user (no sudo) and deploy it locally.
......@@ -50,13 +50,13 @@ Optionally you could run it as a normal user (no sudo) and deploy it locally.
Installation from source code
-----------------------------
You can always get the latest version of daslib from its repository using git ::
You can always get the latest version of dastools from its repository using git ::
$ git clone https://github.com/GEOFON/daslib.git
$ git clone https://github.com/GEOFON/dastools.git
This will create a folder called daslib from which you can install the software ::
This will create a folder called dastools from which you can install the software ::
$ cd daslib
$ cd dastools
$ sudo python3 setup.py install
Running the code
......
......@@ -36,18 +36,18 @@ def get_description(rel_path):
setup(
name='daslib',
name='dastools',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=get_version("daslib/__init__.py"),
version=get_version("dastools/__init__.py"),
description='daslib: Tools to work with data generated by DAS systems',
description='dastools: Tools to work with data generated by DAS systems',
long_description=get_description('README.rst'),
# The project's main homepage.
url='https://github.com/GEOFON/daslib',
url='https://github.com/GEOFON/dastools',
# Author details
author='Javier Quinteros',
......@@ -99,7 +99,7 @@ setup(
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["whatever"],
provides=["daslib"],
provides=["dastools"],
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
......@@ -131,14 +131,14 @@ setup(
# (path.join('/', path.expanduser('~'), '.owndc', 'data'), ['data/masterTable.xml'])
# ],
package_data={'daslib': ['data/filters/*.txt', 'data/*.wadl']},
package_data={'dastools': ['data/filters/*.txt', 'data/*.wadl']},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points='''
[console_scripts]
dasconv=daslib.dasconv:main
tdmsws=daslib.tdmsws:main
dasconv=dastools.dasconv:main
tdmsws=dastools.tdmsws:main
'''
)
......@@ -24,7 +24,7 @@ import unittest
from obspy import Trace
from obspy import Stream
from obspy import read
from daslib.tdms import TDMS
from dastools.tdms import TDMS
import urllib.request as ul
from urllib.error import HTTPError
......
Markdown is supported
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