-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·35 lines (30 loc) · 1.01 KB
/
setup.py
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
# -*- coding: utf-8 -*-
from pathlib import Path
import cctf
from setuptools import setup, find_packages
classifiers = [
'Development Status :: 5 - Production',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
exclude = ['.idea*', 'build*', '{}.egg-info*'.format(__package__), 'dist*', 'venv*', 'doc*', 'lab*']
keywords = ['altcoins', 'altcoin', 'exchange', 'bitcoin', 'trading']
requirements_file = Path(__file__).parent.joinpath('requirements.txt') # type: Path
if requirements_file.exists():
dependencies = requirements_file.read_text().splitlines()
else:
dependencies = list()
setup(
name=cctf.__package__,
version=cctf.__version__,
packages=find_packages(exclude=exclude),
url=cctf.__site__,
license=cctf.__license__,
author=cctf.__author__,
author_email=cctf.__email__,
description=cctf.__description__,
keywords=keywords,
classifiers=classifiers,
install_requires=dependencies,
)