-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
39 lines (32 loc) · 1.08 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
# -*- coding: utf-8 -*-
"""Define setup for the package ``annuity``, based on the German VDI 2067.
**VDI 2067, Part 1**
**Economic efficiency of building installations**
**Fundamentals and economic calculation**
*September 2012 (ICS 91.140.01)*
"""
from setuptools import setup
from setuptools_scm import get_version
try:
version = get_version(version_scheme='post-release')
except LookupError:
version = '0.0.0'
print('Warning: setuptools-scm requires an intact git repository to detect'
' the version number for this build.')
setup(name='annuity',
version=version,
description='Calculation of economic efficiency using the annuity method',
long_description=open('README.md').read(),
license='MIT',
author='Joris Zimmermann',
author_email='[email protected]',
url='https://github.com/jnettels/annuity',
python_requires='>=3.7',
install_requires=[
'pandas',
],
packages=['annuity'],
package_data={
'annuity': ['examples/cost_database.xlsx'],
},
)