Commit c01e2f23 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Changed module name from ptds to py_tools_ds to fix bug of pip installer. Changed license.

- updated __version__ and __versionalias__
parent 868b2a6f
......@@ -7,7 +7,7 @@ tag = True
search = version='{current_version}'
replace = version='{new_version}'
[bumpversion:file:ptds/__init__.py]
[bumpversion:file:py_tools_ds/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
......
......@@ -18,23 +18,23 @@ test_requirements = [
]
setup(
name='ptds',
version='0.1.0',
name='py_tools_ds',
version='0.1.1',
description="A collection of Python tools by Daniel Scheffler.",
long_description=readme + '\n\n' + history,
author="Daniel Scheffler",
author_email='daniel.scheffler@gfz-potsdam.de',
url='https://github.com/danschef/ptds',
url='https://github.com/danschef/py_tools_ds',
packages=[
'ptds',
'py_tools_ds',
],
package_dir={'ptds':
'ptds'},
package_dir={'py_tools_ds':
'py_tools_ds'},
include_package_data=True,
install_requires=requirements,
license="GNU General Public License v3",
zip_safe=False,
keywords='ptds',
keywords='py_tools_ds',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
......
......@@ -2,21 +2,21 @@
# -*- coding: utf-8 -*-
"""
test_ptds
test_py_tools_ds
----------------------------------
Tests for `ptds` module.
Tests for `py_tools_ds` module.
"""
import sys
import unittest
from ptds import ptds
from py_tools_ds import py_tools_ds
class TestPtds(unittest.TestCase):
class TestPy_tools_ds(unittest.TestCase):
def setUp(self):
pass
......
......@@ -4,11 +4,11 @@ envlist = py26, py27, py33, py34, py35, flake8
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8 ptds
commands=flake8 py_tools_ds
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/ptds
PYTHONPATH = {toxinidir}:{toxinidir}/py_tools_ds
commands = python setup.py test
......
......@@ -17,11 +17,11 @@ from cryptography.hazmat.primitives.asymmetric.padding import PKCS1v15
try:
from urllib import urlopen
except:
except ImportError:
from urllib.request import urlopen
GITHUB_REPO = 'danschef/ptds'
GITHUB_REPO = 'danschef/py_tools_ds'
TRAVIS_CONFIG_FILE = os.path.join(
os.path.dirname(os.path.abspath(__file__)), '.travis.yml')
......
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