Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
martinssipenko committed Feb 14, 2025
1 parent c4b99a9 commit ec10e3d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include pysmarty2/registers/*.json
include requirements.txt
13 changes: 11 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
"""Setup for pysmarty2 package."""

import os
import setuptools


with open("README.md", "r") as fh:
# Read README.md
with open("README.md", "r", encoding="utf-8") as fh:
LONG_DESCRIPTION = fh.read()

# Ensure requirements.txt exists before reading it
if os.path.exists("requirements.txt"):
with open("requirements.txt", "r", encoding="utf-8") as f:
REQUIREMENTS = [line.strip() for line in f if line.strip()]
else:
REQUIREMENTS = []


setuptools.setup(
name="pysmarty2",
version="0.10.2",
Expand Down

0 comments on commit ec10e3d

Please sign in to comment.