mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-05 02:55:25 +00:00
core: Update setup.py
This commit is contained in:
parent
a63ee445dd
commit
542b090434
@ -1,3 +1,4 @@
|
|||||||
recursive-include StreamingCommunity *
|
recursive-include StreamingCommunity *
|
||||||
recursive-include StreamingCommunity/Api *
|
recursive-include StreamingCommunity/Api *
|
||||||
recursive-include StreamingCommunity/Lib *
|
recursive-include StreamingCommunity/Lib *
|
||||||
|
include requirements.txt
|
4
setup.py
4
setup.py
@ -1,12 +1,12 @@
|
|||||||
|
import os
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
def read_readme():
|
def read_readme():
|
||||||
with open("README.md", "r", encoding="utf-8") as fh:
|
with open("README.md", "r", encoding="utf-8") as fh:
|
||||||
return fh.read()
|
return fh.read()
|
||||||
|
|
||||||
with open("requirements.txt", "r", encoding="utf-8-sig") as f:
|
with open(os.path.join(os.path.dirname(__file__), "requirements.txt"), "r", encoding="utf-8-sig") as f:
|
||||||
required_packages = f.read().splitlines()
|
required_packages = f.read().splitlines()
|
||||||
print(required_packages)
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="StreamingCommunity",
|
name="StreamingCommunity",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user