-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (20 loc) · 739 Bytes
/
setup.py
File metadata and controls
28 lines (20 loc) · 739 Bytes
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
import os.path
from setuptools import setup
# Utility function to read the contents of short files.
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
install_requires = [
l for l in read('requirements.txt').split('\n')
if l and not l.startswith('#')]
setup(
name='hestiaapi',
version=open("hestia/_version.py").readlines()[-1].split()[-1].strip("\"'"),
description='Python library for accessing the hestia.io API',
author_email='info@hestia.io',
author='hestia.io',
url='https://www.hestia.io',
download_url='https://github.com/hestiaio/hestia-python-api/tarball/0.0.1',
packages=['hestia'],
install_requires=install_requires,
)