mirror of
https://github.com/wassname/libcryptomarket.git
synced 2026-09-12 12:33:20 +08:00
[#13] Link version with setuptools_scm
This commit is contained in:
@@ -4,4 +4,3 @@
|
||||
|
||||
__author__ = """Gavin Chan"""
|
||||
__email__ = 'gavincyi@gmail.com'
|
||||
__version__ = '0.1.5rc1'
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user