Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI

on:
push:


jobs:
ci:
uses: RWTH-EBC/ci_templates/.github/workflows/ci_pipeline.yml@main
secrets:
PYPI_PASSWORD: ${{ secrets.PYPI_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

with:
PYTHON_VERSION: '3.10'
PYPI_RELEASE: true
6 changes: 5 additions & 1 deletion richardsonpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env python
# coding=utf-8
"""
richardsonpy: Package with Python version of Richardson tool

"""
The Richardson tool is able to generate stochastic occupancy and electric load profiles for residential apartments.
"""

from ._version import __version__
1 change: 1 addition & 0 deletions richardsonpy/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.2.2"
20 changes: 14 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,33 @@
"""

from setuptools import setup, find_packages
import os

repo = os.path.abspath(os.path.dirname(__file__))
version_file = os.path.join(repo, 'richardsonpy', '_version.py')

version_dict = {}
with open(version_file) as f:
exec(f.read(), version_dict)

setup(name='richardsonpy',
version='0.2.1',
version=version_dict['__version__'],
description='Python version of Richardson tool to generate stochastic user and electric load profiles',
url='https://github.com/RWTH-EBC/richardsonpy',
author='Institute of Energy Efficient Buildings and Indoor Climate, '
'E.ON Energy Research Center, RWTH Aachen University',
license='GPL-3.0',
packages=find_packages(exclude=["test"]),
tests_require=['pytest'],
package_data = {'': ['inputs/*', 'inputs/**/*']},
tests_require=['pytest'],
package_data = {'': ['inputs/*', 'inputs/**/*']},
install_requires=['numpy', 'matplotlib', 'xlrd'],
platforms='any',
classifiers=[
platforms='any',
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Natural Language :: English',
'Natural Language :: English',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: Utilities'])