forked from pippocla/OpenWebNet
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
28 lines (23 loc) · 811 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Setup file for Reopenwebnet.
Use setup.cfg to configure your project.
This file was generated with PyScaffold 3.1.
PyScaffold helps you to put up the scaffold of your new Python project.
Learn more under: https://pyscaffold.org/
"""
import sys
from pkg_resources import require, VersionConflict
from setuptools import setup
from os import path
try:
require('setuptools>=38.3')
except VersionConflict:
print("Error: version of setuptools is too old (<38.3)!")
sys.exit(1)
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
if __name__ == "__main__":
setup(use_pyscaffold=True, long_description=long_description)