|
29 | 29 |
|
30 | 30 | .. code:: |
31 | 31 |
|
32 | | - python setup.py install |
| 32 | + pip install . |
33 | 33 |
|
| 34 | +Or use the following to install all optional dependencies: |
34 | 35 |
|
35 | | -""" |
36 | | -from setuptools import setup |
37 | | -from setuptools_scm import get_version |
| 36 | +.. code:: |
| 37 | +
|
| 38 | + pip install .[full] |
38 | 39 |
|
39 | 40 |
|
40 | | -try: |
41 | | - version = get_version(version_scheme='post-release') |
42 | | -except LookupError: |
43 | | - version = '0.0.0' |
44 | | - print('Warning: setuptools-scm requires an intact git repository to detect' |
45 | | - ' the version number for this build.') |
| 41 | +""" |
| 42 | +from setuptools import setup |
46 | 43 |
|
47 | 44 | # The setup function |
48 | 45 | setup( |
49 | 46 | name='trnpy', |
50 | | - version=version, |
| 47 | + use_scm_version=True, |
51 | 48 | description='Parallelized TRNSYS simulation with Python', |
52 | 49 | long_description=open('README.md').read(), |
53 | 50 | license='GPL-3.0', |
54 | 51 | author='Joris Zimmermann', |
55 | 52 | author_email='joris.zimmermann@stw.de', |
56 | 53 | url='https://github.com/jnettels/trnpy', |
57 | | - install_requires=['pandas>=0.24.1', ], |
| 54 | + install_requires=['pandas>=2.0', 'psutil', 'openpyxl'], |
58 | 55 | python_requires='>=3.7', |
59 | 56 | setup_requires=['setuptools_scm'], |
60 | | - use_scm_version=True, |
| 57 | + extras_require={ |
| 58 | + 'full': ['pyyaml', 'matplotlib', 'bokeh'], |
| 59 | + }, |
61 | 60 | packages=['trnpy', 'trnpy/examples'], |
62 | 61 | package_data={'trnpy/examples': ['Parametrics.xlsx'], }, |
63 | 62 | entry_points={ |
|
0 commit comments