VeraGridServer 6.2.2__tar.gz → 6.2.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: VeraGridServer
3
- Version: 6.2.2
3
+ Version: 6.2.5
4
4
  Summary: VeraGrid is a Power Systems simulation program intended for professional use and research
5
5
  Home-page: https://github.com/SanPen/VeraGrid
6
6
  Author: Santiago Peñate Vera et. Al.
@@ -6,7 +6,7 @@ import datetime
6
6
  _current_year_ = datetime.datetime.now().year
7
7
 
8
8
  # remember to keep a three-number version!!!
9
- __VeraGridServer_VERSION__ = "6.2.2"
9
+ __VeraGridServer_VERSION__ = "6.2.5"
10
10
 
11
11
  url = 'https://github.com/SanPen/VeraGrid'
12
12
 
@@ -10,34 +10,15 @@ https://github.com/pypa/sampleproject
10
10
  """
11
11
 
12
12
  # Always prefer setuptools over distutils
13
+ from pathlib import Path
13
14
  from setuptools import setup, find_packages
14
- import os
15
15
 
16
16
  from VeraGridServer.__version__ import __VeraGridServer_VERSION__
17
17
 
18
- here = os.path.abspath(os.path.dirname(__file__))
19
-
20
- long_description = """# VeraGrid
21
-
22
- This software aims to be a complete platform for power systems research and simulation.
23
-
24
- [Watch the video https](https://youtu.be/SY66WgLGo54)
25
-
26
- [Check out the documentation](https://gridcal.readthedocs.io)
27
-
28
-
29
- ## Installation
30
-
31
- pip install VeraGridServer
32
-
33
- For more options (including a standalone setup one), follow the
34
- [installation instructions]( https://gridcal.readthedocs.io/en/latest/getting_started/install.html)
35
- from the project's [documentation](https://gridcal.readthedocs.io)
36
- """
37
-
38
18
  description = 'VeraGrid is a Power Systems simulation program intended for professional use and research'
39
-
40
- base_path = os.path.join('VeraGridServer')
19
+ SRC_ROOT = Path(__file__).resolve().parent
20
+ REPO_ROOT = SRC_ROOT.parents[1]
21
+ long_description = (REPO_ROOT / 'README.md').read_text(encoding='utf-8')
41
22
 
42
23
  pkgs_to_exclude = ['docs', 'research', 'tests', 'tutorials', 'VeraGridEngine']
43
24
 
File without changes