From 613e90981a08500a1215f80a98ae7b8dcf34d7b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivar=20H=C3=A4rnqvist?= <ivaha717@student.liu.se> Date: Mon, 24 Feb 2020 10:20:44 +0100 Subject: [PATCH] fix sdist by adding CMakeLists.txt to manifest, update README.md --- .gitignore | 0 CMakeLists.txt | 0 LICENSE | 0 MANIFEST.in | 1 + README.md | 12 ++++++++++++ b_asic/__init__.py | 0 b_asic/operation.py | 0 b_asic/ops.py | 0 b_asic/pc.py | 0 b_asic/port.py | 0 b_asic/schema.py | 0 b_asic/sfg.py | 0 b_asic/signal.py | 0 b_asic/simulation.py | 0 logo.png | Bin setup.py | 0 src/main.cpp | 0 17 files changed, 13 insertions(+) mode change 100755 => 100644 .gitignore mode change 100755 => 100644 CMakeLists.txt mode change 100755 => 100644 LICENSE mode change 100755 => 100644 MANIFEST.in mode change 100755 => 100644 README.md mode change 100755 => 100644 b_asic/__init__.py mode change 100755 => 100644 b_asic/operation.py mode change 100755 => 100644 b_asic/ops.py mode change 100755 => 100644 b_asic/pc.py mode change 100755 => 100644 b_asic/port.py mode change 100755 => 100644 b_asic/schema.py mode change 100755 => 100644 b_asic/sfg.py mode change 100755 => 100644 b_asic/signal.py mode change 100755 => 100644 b_asic/simulation.py mode change 100755 => 100644 logo.png mode change 100755 => 100644 setup.py mode change 100755 => 100644 src/main.cpp diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100755 new mode 100644 diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/MANIFEST.in b/MANIFEST.in old mode 100755 new mode 100644 index 89a500ee..ce996f6c --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ include README.md include LICENSE +include CMakeLists.txt recursive-include src *.cpp *.h diff --git a/README.md b/README.md old mode 100755 new mode 100644 index 78df523e..4917b55e --- a/README.md +++ b/README.md @@ -59,6 +59,18 @@ python3 setup.py sdist ``` The output gets written to `B-ASIC/dist`. +#### Installation (Binary distribution) +In `B-ASIC`: +``` +python3 -m pip install b_asic-<version>-<cpver>-<cpver>_<arch>.whl +``` + +#### Installation (Source distribution) +In `B-ASIC`: +``` +python3 -m pip install b-asic-<version>.tar.gz +``` + ## Usage How to build and use the library as a user. diff --git a/b_asic/__init__.py b/b_asic/__init__.py old mode 100755 new mode 100644 diff --git a/b_asic/operation.py b/b_asic/operation.py old mode 100755 new mode 100644 diff --git a/b_asic/ops.py b/b_asic/ops.py old mode 100755 new mode 100644 diff --git a/b_asic/pc.py b/b_asic/pc.py old mode 100755 new mode 100644 diff --git a/b_asic/port.py b/b_asic/port.py old mode 100755 new mode 100644 diff --git a/b_asic/schema.py b/b_asic/schema.py old mode 100755 new mode 100644 diff --git a/b_asic/sfg.py b/b_asic/sfg.py old mode 100755 new mode 100644 diff --git a/b_asic/signal.py b/b_asic/signal.py old mode 100755 new mode 100644 diff --git a/b_asic/simulation.py b/b_asic/simulation.py old mode 100755 new mode 100644 diff --git a/logo.png b/logo.png old mode 100755 new mode 100644 diff --git a/setup.py b/setup.py old mode 100755 new mode 100644 diff --git a/src/main.cpp b/src/main.cpp old mode 100755 new mode 100644 -- GitLab