Skip to content

Commit

Permalink
refactor folders
Browse files Browse the repository at this point in the history
  • Loading branch information
sirfoga committed Oct 7, 2018
1 parent 3baea3c commit 9969e7b
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 2,494 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.1.0 (0a61a0b6d2b5bf9ebc04953e2a70e63ab996d6a0 at 19:24:00 18-10-07 +0200)
10.1.0 (7e3508f6b4973be2c8255f8f8a522512fc6bea8c at 19:47:30 18-10-07 +0200)
2,479 changes: 0 additions & 2,479 deletions docs/doxygen/Doxyfile

This file was deleted.

Empty file modified docs/make.sh
100755 → 100644
Empty file.
15 changes: 15 additions & 0 deletions docs/pydocmd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
site_name: PyHal documentation
repo_url: https://github.com/sirfoga/pyhal
generate:
- charts.md:
- pyhal.charts++
- cvs.md:
- pyhal.cvs++
- data.md:
- pyhal.data++
pages:
- Home: index.md << ../README.md
- API Documentation:
- Charts: charts.md
- CVS: cvs.md
- Data: data.md
12 changes: 0 additions & 12 deletions hal/files/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
""" Parsers for raw databases """

import csv
import json


class Parser:
Expand Down Expand Up @@ -89,14 +88,3 @@ def get_dicts(self):
for row in reader:
if row:
yield row


class JSONParser(Parser):
""" """

def get_content(self):
""" """
with open(self.path, "r") as in_file:
return json.loads(
in_file.read()
) # read and return json object
Binary file removed logo.png
Binary file not shown.
1 change: 1 addition & 0 deletions fast_install.sh → scripts/fast_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ LOCAL_FOLDER="${PWD}/${PACKAGE}/*"
PYTHON_VERSION="python3.6"
DIST_FOLDER="/usr/local/lib/${PYTHON_VERSION}/dist-packages/${PACKAGE}"

cd ..
rm -rf ${DIST_FOLDER} # clean
mkdir ${DIST_FOLDER}
cp -r ${LOCAL_FOLDER} ${DIST_FOLDER} # copy recursively
Expand Down
1 change: 1 addition & 0 deletions install.sh → scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# !/bin/bash
# coding: utf_8

cd ..
sudo pip3 install . --upgrade --force-reinstall
1 change: 1 addition & 0 deletions pypi.sh → scripts/pypi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
INSTALL_FOLDER=${PWD}
TWINE_FOLDER="${HOME}/bin/twine/twine/"

cd ..
rm -rf build dist *.egg-info # clean
python3 setup.py sdist bdist_wheel # build

Expand Down
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

0 comments on commit 9969e7b

Please sign in to comment.