mirror of
https://github.com/gosticks/dash-player.git
synced 2025-10-16 11:55:36 +00:00
21 lines
506 B
Python
21 lines
506 B
Python
import json
|
|
import os
|
|
from setuptools import setup
|
|
|
|
|
|
with open(os.path.join('dash_player', 'package.json')) as f:
|
|
package = json.load(f)
|
|
|
|
package_name = package["name"].replace(" ", "_").replace("-", "_")
|
|
|
|
setup(
|
|
name=package_name,
|
|
version=package["version"],
|
|
author=package['author'],
|
|
packages=[package_name],
|
|
include_package_data=True,
|
|
license=package['license'],
|
|
description=package['description'] if 'description' in package else package_name,
|
|
install_requires=[]
|
|
)
|