Skip to content

Commit 0098ed4

Browse files
authored
Merge pull request #1 from Oaklight/pypi-ready
Pypi ready
2 parents 80f37ba + c5c3700 commit 0098ed4

File tree

108 files changed

+825
-33993
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+825
-33993
lines changed

Makefile

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Makefile for cicada pip package
2+
3+
# Variables
4+
PACKAGE_NAME := $(shell python setup.py --name)
5+
VERSION := $(shell python setup.py --version)
6+
DIST_DIR := dist
7+
BUILD_DIR := build
8+
9+
# Default target
10+
all: build
11+
12+
# Build the package
13+
build:
14+
@echo "Building $(PACKAGE_NAME) version $(VERSION)..."
15+
python setup.py sdist bdist_wheel
16+
@echo "Build complete. Distribution files are in $(DIST_DIR)/"
17+
18+
# Push the package to PyPI
19+
push:
20+
@echo "Pushing $(PACKAGE_NAME) version $(VERSION) to PyPI..."
21+
twine upload $(DIST_DIR)/*
22+
@echo "Package pushed to PyPI."
23+
24+
# Clean up build and distribution files
25+
clean:
26+
@echo "Cleaning up build and distribution files..."
27+
rm -rf $(BUILD_DIR) $(DIST_DIR) *.egg-info
28+
@echo "Cleanup complete."
29+
30+
# Help target
31+
help:
32+
@echo "Available targets:"
33+
@echo " build - Build the pip package"
34+
@echo " push - Push the package to PyPI"
35+
@echo " clean - Clean up build and distribution files"
36+
@echo " help - Show this help message"
37+
38+
.PHONY: all build push clean help

README.md

Lines changed: 0 additions & 187 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README_en.md

0 commit comments

Comments
 (0)