Skip to content

Commit 2cb62b7

Browse files
committed
Migrate to dss-extensions
1 parent 3b7b21c commit 2cb62b7

File tree

8 files changed

+41
-19
lines changed

8 files changed

+41
-19
lines changed

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ matrix:
1414
- cd ..
1515
- mkdir artifacts
1616
- mkdir artifacts/linux-64
17-
- git clone https://github.com/PMeira/electricdss-src electricdss-src
18-
- git clone https://github.com/PMeira/dss_capi dss_capi
17+
- git clone https://github.com/dss-extensions/electricdss-src electricdss-src
18+
- git clone https://github.com/dss-extensions/dss_capi dss_capi
1919
- wget http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-5.3.0.tar.gz -O suitesparse.tar.gz -q
2020
- tar zxf suitesparse.tar.gz
2121
- export SUITESPARSE_SRC=`realpath ./SuiteSparse`
@@ -26,16 +26,16 @@ matrix:
2626
- name: "osx_x64"
2727
os: osx
2828
script:
29-
- git clone https://github.com/PMeira/electricdss-src ../electricdss-src
30-
- git clone https://github.com/PMeira/dss_capi ../dss_capi
29+
- git clone https://github.com/dss-extensions/electricdss-src ../electricdss-src
30+
- git clone https://github.com/dss-extensions/dss_capi ../dss_capi
3131
- bash ci/build_osx.sh
3232
- ls -lR ../artifacts
3333

3434
# - name: "windows_x64"
3535
# os: windows
3636
# script:
37-
# - git clone https://github.com/PMeira/electricdss-src ../electricdss-src
38-
# - git clone https://github.com/PMeira/dss_capi ../dss_capi
37+
# - git clone https://github.com/dss-extensions/electricdss-src ../electricdss-src
38+
# - git clone https://github.com/dss-extensions/dss_capi ../dss_capi
3939
# - bash ci/build_windows.sh
4040
# - ls -lR ../artifacts
4141

@@ -46,6 +46,6 @@ matrix:
4646
# file_glob: true
4747
# file: ../artifacts/*
4848
# on:
49-
# repo: PMeira/dss_python
49+
# repo: dss-extensions/dss_python
5050
# tags: true
5151

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
Python bindings and misc tools for using OpenDSS (EPRI Distribution System Simulator). Based on CFFI and DSS C-API, aiming for full COM compatibility on Windows, Linux and MacOS.
44

55
<p align="center">
6-
<img alt="Overview of related repositories" src="https://raw.githubusercontent.com/PMeira/dss_python/master/docs/images/repomap.svg?sanitize=true" width=600>
6+
<img alt="Overview of related repositories" src="https://raw.githubusercontent.com/dss-extensions/dss_python/master/docs/images/repomap.svg?sanitize=true" width=600>
77
</p>
88

9-
If you are looking for the custom OpenDSS C-API library, see [`DSS C-API`](http://github.com/PMeira/dss_capi/).
9+
If you are looking for the custom OpenDSS C-API library, see [`DSS C-API`](http://github.com/dss-extensions/dss_capi/).
1010

1111
Version 0.10.0, based on OpenDSS revision 2395. While we plan to add a lot more funcionality into DSS Python, the main goal of creating a COM-compatible API has been reached.
1212

@@ -68,10 +68,10 @@ After a successful installation, you can then import the `dss` module from your
6868
Get this repository:
6969

7070
```
71-
git clone https://github.com/PMeira/dss_python.git
71+
git clone https://github.com/dss-extensions/dss_python.git
7272
```
7373

74-
Assuming you successfully built or downloaded the DSS C-API DLLs (check [its repository](http://github.com/PMeira/dss_capi/) for instructions), keep the folder organization as follows:
74+
Assuming you successfully built or downloaded the DSS C-API DLLs (check [its repository](http://github.com/dss-extensions/dss_capi/) for instructions), keep the folder organization as follows:
7575

7676
```
7777
dss_capi/
@@ -209,7 +209,7 @@ Please allow me a few days to respond.
209209

210210
Credits / Acknowlegement
211211
========================
212-
DSS Python is based on EPRI's OpenDSS via the [`dss_capi`](http://github.com/PMeira/dss_capi/) project, check its licensing information.
212+
DSS Python is based on EPRI's OpenDSS via the [`dss_capi`](http://github.com/dss-extensions/dss_capi/) project, check its licensing information.
213213

214214
This project is licensed under the (new) BSD, available in the `LICENSE` file. It's the same license OpenDSS uses (`OPENDSS_LICENSE`). OpenDSS itself uses KLUSolve and SuiteSparse, licensed under the GNU LGPL 2.1.
215215

appveyor.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: '{build}'
2+
skip_non_tags: true
3+
image: Previous Visual Studio 2017
4+
clone_folder: c:\projects\dss_python
5+
environment:
6+
ANACONDA_API_TOKEN:
7+
secure: 78d9aslKXYoP2gVc7p5A5BJj3bSDPd2kZjQAlvEd64cCcxaf185CexeDNYNeNPuU
8+
9+
build_script:
10+
- cmd: >-
11+
rd /s /q c:\cygwin
12+
13+
git clone https://github.com/dss-extensions/electricdss-src ../electricdss-src
14+
15+
git clone https://github.com/dss-extensions/dss_capi ../dss_capi
16+
17+
set path=c:\cygwin64\bin;c:\cygwin64\usr\bin;c:\FPC\3.0.4\bin\i386-win32;c:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\bin;c:\miniconda3-x64;c:\miniconda3-x64\scripts;%path%
18+
19+
c:\cygwin64\bin\bash ci/build_windows.sh
20+
21+
dir ..\artifacts\*.whl ..\artifacts\*.tar.bz2 /s
22+
test: off

conda/bld.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ set DSS_CAPI_VERSION=0.10.0
55

66
REM Clone dependency repositories
77
if not exist ..\electricdss-src (
8-
git clone -b "%ELECTRICDSS_SRC_VERSION%" --single-branch https://github.com/PMeira/electricdss-src.git ..\electricdss-src
8+
git clone -b "%ELECTRICDSS_SRC_VERSION%" --single-branch https://github.com/dss-extensions/electricdss-src.git ..\electricdss-src
99
if errorlevel 1 exit 1
1010
)
1111

1212
if not exist ..\dss_capi (
13-
git clone -b "%DSS_CAPI_VERSION%" --single-branch https://github.com/PMeira/dss_capi.git ..\dss_capi
13+
git clone -b "%DSS_CAPI_VERSION%" --single-branch https://github.com/dss-extensions/dss_capi.git ..\dss_capi
1414
if errorlevel 1 exit 1
1515
)
1616

conda/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ fi
3636
# Clone dependency repositories
3737
echo "Cloning electricdss-src..."
3838
if [ ! -d "../electricdss-src" ]; then
39-
git clone -b "$ELECTRICDSS_SRC_VERSION" --single-branch https://github.com/PMeira/electricdss-src.git ../electricdss-src
39+
git clone -b "$ELECTRICDSS_SRC_VERSION" --single-branch https://github.com/dss-extensions/electricdss-src.git ../electricdss-src
4040
fi
4141

4242
echo "Cloning dss_capi..."
4343
if [ ! -d "../dss_capi" ]; then
44-
git clone -b "$DSS_CAPI_VERSION" --single-branch https://github.com/PMeira/dss_capi.git ../dss_capi
44+
git clone -b "$DSS_CAPI_VERSION" --single-branch https://github.com/dss-extensions/dss_capi.git ../dss_capi
4545
fi
4646

4747
# Build KLUSolve

conda/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package:
44

55
source:
66
git_rev: "0.10.0"
7-
git_url: https://github.com/PMeira/dss_python.git
7+
git_url: https://github.com/dss-extensions/dss_python.git
88
#path: ..
99

1010
build:

docs/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Released on 2018-11-17.
77
- Integrates many fixes from the upstream OpenDSS and changes specific to DSS C-API.
88
- Reorganizes and reuses the code across DSS versions (v7 and v8)
99
- Uses `__slots__` to simplify attribute handling.
10-
- Exposes both the our classic API (e.g. `dss.v7.DSS_IR` for the immediate/direct results) and global result API (e.g. `dss.v7.DSS_GR` for the global result interface). See [DSS C-API's docs](https://github.com/PMeira/dss_capi/blob/master/docs/usage.md) for a detailed explanation. We default to the GR interface since it will generally be faster at the cost of a small memory overhead.
10+
- Exposes both the our classic API (e.g. `dss.v7.DSS_IR` for the immediate/direct results) and global result API (e.g. `dss.v7.DSS_GR` for the global result interface). See [DSS C-API's docs](https://github.com/dss-extensions/dss_capi/blob/master/docs/usage.md) for a detailed explanation. We default to the GR interface since it will generally be faster at the cost of a small memory overhead.
1111
- Although still experimental, the v8/PM module is more stable. If you try it, please give feedback.
1212
- Error checking is now done for most API writes. That is, if a an OpenDSS error occurs, it should cause a Python exception soon after. Previously, you need to call `CheckForError()` manually to trigger this. This change was introduced after user reports indicated that manually checking for errors is a common behavior.
1313
- Exposes API extensions for the classes `LineGeometry`, `WireData`, `LineSpacing`, `CNData`, `TSData`, `Reactor`.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[metadata]
22
description-file = README.md
33
license-file = LICENSE
4-
url = https://github.com/PMeira/dss_python
4+
url = https://github.com/dss-extensions/dss_python

0 commit comments

Comments
 (0)