Skip to content

Commit 9b96960

Browse files
author
Artem Yerofieiev
committed
Fix packaging issues by adding MANIFEST.in and making setup.py resilient to missing requirements.txt
1 parent 034f1bf commit 9b96960

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

MANIFEST.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include requirements.txt
2+
include README.md
3+
include LICENSE
4+
recursive-include templates *
5+
recursive-include static *

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools>=42", "wheel"]
3+
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from setuptools import setup, find_packages
2+
import os
23

34
with open("README.md", "r", encoding="utf-8") as fh:
45
long_description = fh.read()

0 commit comments

Comments
 (0)