forked from BobTheBuidler/eth-portfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (31 loc) · 992 Bytes
/
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
from setuptools import find_packages, setup # type: ignore
import re
with open("requirements.txt", "r") as f:
requirements = []
for line in f.read().split("\n"):
m = re.match("git\+https://www.github.com/[^/]+/([^/]+)@[^/]+", line)
if m:
requirements.append(f"{m[1]} @ {line.strip()}")
else:
requirements.append(line.strip())
setup(
name='eth-portfolio',
packages=find_packages(),
use_scm_version={
"root": ".",
"relative_to": __file__,
"local_scheme": "no-local-version",
"version_scheme": "python-simplified-semver",
},
description='eth-portfolio makes it easy to analyze your portfolio.',
author='BobTheBuidler',
author_email='[email protected]',
url='https://github.com/BobTheBuidler/eth-portfolio',
install_requires=requirements,
setup_requires=[
'setuptools_scm',
],
package_data={
"eth_portfolio": ["py.typed"],
},
)