-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NEWS.md and code to build distribution
- Loading branch information
Showing
6 changed files
with
158 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
1.0.0 | ||
----- | ||
|
||
First public release. | ||
|
||
The names below follow the WL names. Look up the corresponding documentation for information about these. | ||
|
||
Functions provided | ||
------------------ | ||
|
||
- ``AcyclicGraphQ`` | ||
- ``AdjacencyList`` | ||
- ``BalancedTree`` | ||
- ``BarbellGraph`` | ||
- ``BetweennessCentrality`` | ||
- ``BinomialTree`` | ||
- ``ClosenessCentrality`` | ||
- ``CompleteGraph`` | ||
- ``CompleteKaryTree`` | ||
- ``ConnectedComponents`` | ||
- ``ConnectedGraphQ`` | ||
- ``CycleGraph`` | ||
- ``DegreeCentrality`` | ||
- ``DirectedEdge`` | ||
- ``DirectedGraphQ`` | ||
- ``EdgeAdd`` | ||
- ``EdgeConnectivity`` | ||
- ``EdgeCount`` | ||
- ``EdgeDelete`` | ||
- ``EdgeIndex`` | ||
- ``EdgeList`` | ||
- ``EdgeRules`` | ||
- ``EigenvectorCentrality`` | ||
- ``FindShortestPath`` | ||
- ``FindSpanningTree`` | ||
- ``FindVertexCut`` | ||
- ``FullRAryTree`` | ||
- ``Graph`` | ||
- ``GraphAtlas`` | ||
- ``GraphBox`` | ||
- ``GraphData`` | ||
- ``GraphDistance`` | ||
- ``HITSCentrality`` | ||
- ``HighlightGraph`` | ||
- ``HknHararyGraph`` | ||
- ``HmnHararyGraph`` | ||
- ``KaryTree`` | ||
- ``KatzCentrality`` | ||
- ``LadderGraph`` | ||
- ``LoopFreeGraphQ`` | ||
- ``MixedGraphQ`` | ||
- ``MultigraphQ`` | ||
- ``PageRankCentrality`` | ||
- ``PathGraph`` | ||
- ``PathGraphQ`` | ||
- ``PlanarGraphQ`` | ||
- ``Property`` | ||
- ``PropertyValue`` | ||
- ``RandomGraph`` | ||
- ``RandomTree`` | ||
- ``SimpleGraphQ`` | ||
- ``StarGraph`` | ||
- ``TreeGraph`` | ||
- ``TreeGraphQ`` | ||
- ``UndirectedEdge`` | ||
- ``VertexAdd`` | ||
- ``VertexConnectivity`` | ||
- ``VertexCount`` | ||
- ``VertexDegree`` | ||
- ``VertexDelete`` | ||
- ``VertexIndex`` | ||
- ``VertexList`` | ||
- ``WeaklyConnectedComponents`` | ||
|
||
|
||
GraphData names | ||
---------------- | ||
|
||
- ``DodecahedralGraph`` | ||
- ``DiamondGraph`` | ||
- ``PappusGraph`` | ||
- ``IsohedralGraph`` | ||
- ``PetersenGraph`` | ||
|
||
The names below follow the WL names. Look up the corresponding documentation for information about these. | ||
However you can also use the corresponding networkx name, e.g. "c" for "Circle", "D" for "Diamond", etc. | ||
|
||
Node Marker Names | ||
---------------- | ||
|
||
- ``Circle`` | ||
- ``Diamond`` | ||
- ``Square`` | ||
- ``Star`` | ||
- ``Pentagon`` | ||
- ``Octagon`` | ||
- ``Hexagon`` | ||
- ``Triangle`` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/.python-version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
PACKAGE=pymathics-graph | ||
|
||
# FIXME put some of the below in a common routine | ||
function finish { | ||
cd $owd | ||
} | ||
|
||
cd $(dirname ${BASH_SOURCE[0]}) | ||
owd=$(pwd) | ||
trap finish EXIT | ||
|
||
if ! source ./pyenv-versions ; then | ||
exit $? | ||
fi | ||
|
||
|
||
cd .. | ||
source pymathics/graph/version.py | ||
echo $__version__ | ||
|
||
for pyversion in $PYVERSIONS; do | ||
if ! pyenv local $pyversion ; then | ||
exit $? | ||
fi | ||
# pip bdist_egg create too-general wheels. So | ||
# we narrow that by moving the generated wheel. | ||
|
||
# Pick out first two number of version, e.g. 3.7.9 -> 37 | ||
first_two=$(echo $pyversion | cut -d'.' -f 1-2 | sed -e 's/\.//') | ||
rm -fr build | ||
python setup.py develop | ||
python setup.py bdist_egg | ||
python setup.py bdist_wheel | ||
python setup.py bdist_wheel --universal | ||
mv -v dist/${PACKAGE}-$VERSION-{py2.py3,py$first_two}-none-any.whl | ||
done | ||
|
||
python ./setup.py sdist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# -*- shell-script -*- | ||
# Sets PYVERSIONS to be pyenv versions that | ||
# we can use in the master branch. | ||
if [[ $0 == ${BASH_SOURCE[0]} ]] ; then | ||
echo "This script should be *sourced* rather than run directly through bash" | ||
exit 1 | ||
fi | ||
export PYVERSIONS='3.6.12 3.7.9 3.8.6 3.9.1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters