-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
31 lines (29 loc) · 894 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
from setuptools import setup
import versioneer
from typing import List
def lines(filename: str) -> List[str]:
with open(filename, "r") as input:
return input.readlines()
setup(
name='TeslaBot',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author='Erkki Seppälä',
author_email='[email protected]',
packages=['teslabot'],
scripts=[],
url='https://github.com/eras/TeslaBot/',
license='LICENSE.MIT',
description='Tool for interacting with the Tesla vehicles',
long_description=open('README.md').read(),
install_requires=lines("requirements.txt"),
extras_require={
"matrix": lines("requirements-matrix.txt"),
"slack": lines("requirements-slack.txt"),
},
entry_points={
'secret_sources': [
'gcp = teslabot.gcp_secret_reader:get_secrets',
],
}
)