forked from mljar/mercury
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
35 lines (32 loc) · 1.08 KB
/
setup.py
File metadata and controls
35 lines (32 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import os
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
def list_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join(path, filename))
return paths
setup(
name="mljar-mercury",
version="0.3.0",
maintainer="MLJAR Sp. z o.o.",
maintainer_email="contact@mljar.com",
description="Share your Python Notebooks with others",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=open("mercury/requirements.txt").readlines(),
url="https://github.com/mljar/mercury",
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
packages=find_packages(),
python_requires=">=3.7",
entry_points={
"console_scripts": ["mercury=mercury.mercury:main"],
},
package_data={"mercury": list_files("frontend-dist") + ["requirements.txt"]},
include_package_data=True,
)