summaryrefslogtreecommitdiff
path: root/setup.py
blob: 8f0ee7c59dca27cbc8a934b81216e867a1b06a8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import re
from os.path import dirname, realpath

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

version = ''
with open('cfetch/__init__.py', 'r') as f:
    version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
                        f.read(), re.MULTILINE).group(1)

setup(
    name = 'coinfetch',
    version = version,
    scripts = ['coinfetch'],
    packages = ['cfetch'],

    package_dir = {
        'cfetch': 'cfetch'
    },

    install_requires = ['requests'],

    package_data = {
        '': ['README'],
        'cfetch': ['plugins/*.py']
    },
    include_package_data=True,

    author = 'Delwink, LLC',
    author_email = 'support@delwink.com',
    description = 'Cryptocurrency price converter',
    license = 'AGPLv3',
    keywords = 'coin fetch coinfetch ticker bitcoin cryptocurrency money',
    url = 'http://delwink.com/software/coinfetch.html'
)