-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
28 lines (26 loc) · 1.22 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
from setuptools import setup, find_packages
def read_requirements(file_path):
with open(file_path, 'r') as file:
return [line.strip() for line in file if line.strip()]
setup(
name="districtheatingsim", # Name des Pakets
version="0.1", # Versionsnummer
description="A simulation tool for district heating systems", # Beschreibung
author="Dipl.-Ing. (FH) Jonas Pfeiffer", # Autor
maintainer="Dipl.-Ing. (FH) Jonas Pfeiffer", # Verantwortlicher
packages=find_packages(where="src"), # Suche Pakete im Ordner "src"
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
package_dir={"": "src"}, # Root ist "src"
install_requires=read_requirements('requirements.txt'),
include_package_data=True, # Falls Daten wie .csv in Paketen enthalten sind
classifiers=[
"Programming Language :: Python :: 3.11",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
],
python_requires=">=3.9", # Mindestens benötigte Python-Version
url="https://github.com/JonasPfeiffer123/DistrictHeatingSim", # URL zum Projekt
)