forked from rotki/rotki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (57 loc) · 2.12 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import pathlib
from os import environ
from pkg_resources import parse_requirements
from setuptools import find_packages, setup
# Repository root directory for use with reading files
directory = pathlib.Path(__file__).parent
# Load install_requires from requirements.txt.
# https://stackoverflow.com/a/59971236/4651668
requirements = directory.joinpath('requirements.txt').read_text()
requirements = [str(r) for r in parse_requirements(requirements)]
version = '1.25.1' # Do not edit: this is maintained by bumpversion (see .bumpversion.cfg)
setup(
name='rotkehlchen',
author='Rotki Solutions GmbH',
author_email='[email protected]',
description='Acccounting, asset management and tax report helper for cryptocurrencies',
license='AGPL-3',
keywords='accounting tax-report portfolio asset-management cryptocurrencies',
url='https://github.com/rotki/rotki',
packages=find_packages('.'),
package_data={
# Data files to package in the Rotki python package wheel. While
# pyinstaller does not use this list, changes here should be kept in
# sync with rotkehlchen.spec
'rotkehlchen': [
'data/eth_abi.json',
'data/eth_contracts.json',
'data/all_assets.json',
'data/all_assets.meta',
'data/uniswapv2_lp_tokens.json',
'data/uniswapv2_lp_tokens.meta',
'data/global.db',
'data/curve_pools.json',
'data/nodes.json',
'chain/ethereum/modules/dxdaomesa/data/contracts.json',
],
},
python_requires='>=3.9',
install_requires=requirements,
use_scm_version={
'fallback_version': environ.get('PACKAGE_FALLBACK_VERSION') or version,
},
setup_requires=['setuptools_scm'],
long_description=directory.joinpath('README.md').read_text(),
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 1 - Planning',
'Topic :: Utilities',
],
entry_points={
'console_scripts': [
'rotkehlchen = rotkehlchen.__main__:main',
],
},
)