Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
71ca103393 | ||
|
9a63348d52 | ||
|
360b1b5d9c | ||
|
5e1c42723e | ||
|
e444a79cd0 | ||
|
8a30376722 | ||
|
5d86a9ba6d | ||
|
6496dcb432 | ||
|
75e3ecae80 | ||
|
92b55655ce | ||
|
73ee99bf6a |
14
.drone.yml
14
.drone.yml
@ -14,13 +14,14 @@ steps:
|
||||
- mkdir -p /drone/src/out/
|
||||
- mkdir -p /drone/src/dist/
|
||||
# add dependancies
|
||||
- apk add --update python3 py3-pip python3-dev gfortran build-base py3-numpy python3-tkinter libgfortran libquadmath libgcc gnutls
|
||||
- pacman -Sy --noconfirm --needed wget libunwind lib32-gnutls python3 python-pip gcc-fortran base-devel python-numpy python-pandas tk gcc-libs gnutls wine-staging
|
||||
# linux build
|
||||
- cd /drone/src/
|
||||
- python -m venv venv
|
||||
- python -m venv --system-site-packages venv
|
||||
- source venv/bin/activate
|
||||
- pip3 list
|
||||
- pip3 config --user set global.progress_bar off
|
||||
- pip3 install --prefer-binary -r requirements.txt
|
||||
- pip3 install --ignore-installed -r requirements.txt
|
||||
- pyinstaller --onefile --name matomo-csv-util.bin --hidden-import=tkinter -y --distpath /drone/src/out/ /drone/src/main.py
|
||||
- deactivate
|
||||
- cp -v out/matomo-csv-util.bin dist/
|
||||
@ -45,9 +46,10 @@ steps:
|
||||
- md5
|
||||
- sha256
|
||||
- crc32
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
when:
|
||||
event:
|
||||
exclude:
|
||||
- push
|
||||
|
||||
image_pull_secrets:
|
||||
- docker_token
|
@ -1,4 +1,5 @@
|
||||
## iNewsletter CSV Util
|
||||
## Matomo CSV Util
|
||||
|
||||
GUI utility to convert csv with multiple columns to iNewsletter .csv import
|
||||
GUI utility to convert a csv with multiple columns to a valid Matomo .csv import file
|
||||
Needed columns= name, email
|
||||
All the other available columns will be treated as attributes of the subscriber.
|
||||
|
6
main.py
6
main.py
@ -1,10 +1,6 @@
|
||||
try:
|
||||
from Tkinter import *
|
||||
except ImportError:
|
||||
from tkinter import *
|
||||
from tkinter import *
|
||||
import csv
|
||||
import json
|
||||
import base64
|
||||
import os.path
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
|
@ -1,7 +1,6 @@
|
||||
altgraph==0.17.4
|
||||
numpy==1.26.3
|
||||
numpy==1.26.3; platform_system == "Windows"
|
||||
packaging==23.2
|
||||
pandas==2.2.0; platform_system == "Linux"
|
||||
pandas==2.0.3; platform_system == "Windows"
|
||||
pefile==2023.2.7
|
||||
pyinstaller==6.3.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user