diff --git a/libcryptomarket/__init__.py b/libcryptomarket/__init__.py index 84a8725..3b7de4e 100644 --- a/libcryptomarket/__init__.py +++ b/libcryptomarket/__init__.py @@ -4,4 +4,3 @@ __author__ = """Gavin Chan""" __email__ = 'gavincyi@gmail.com' -__version__ = '0.1.5rc1' diff --git a/setup.py b/setup.py index 81d7a32..9f6dace 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,6 @@ """The setup script.""" from setuptools import setup, find_packages -from libcryptomarket import __version__ with open('README.md') as readme_file: readme = readme_file.read() @@ -14,7 +13,8 @@ with open('HISTORY.rst') as history_file: requirements = [ 'pandas>=0.20.0', - 'requests' + 'requests', + 'setuptools_scm' ] setup_requirements = [ @@ -29,13 +29,13 @@ test_requirements = [ setup( name='libcryptomarket', - version=__version__, + use_scm_version=True, description="Library for cryptocurrency market information.", long_description=readme + '\n\n' + history, author="Gavin Chan", author_email='gavincyi@gmail.com', url='https://github.com/gavincyi/libcryptomarket', - packages=['libcryptomarket', 'libcryptomarket.api', + packages=['libcryptomarket', 'libcryptomarket.api', 'libcryptomarket.core'], include_package_data=True, install_requires=requirements,