-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
34 lines (30 loc) · 1.43 KB
/
setup.py
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
import os
from setuptools import setup, find_packages
# Read the contents of the README.md file for the long description
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# Check if requirements.txt files exists and if so, read their contents
colab_required = []
if os.path.isfile("colab_requirements.txt"):
with open('colab_requirements.txt') as f:
colab_required = f.read().splitlines()
install_requires = []
if os.path.isfile("requirements.txt"):
with open("requirements.txt") as f:
install_requires = f.read().splitlines()
# Define the package setup configuration
setup(
name='Easy Data', # Replace with your package name
packages=find_packages(), # List of all packages included in your project
description='Easy Data: Simplify Data Utilization',
long_description=long_description, # Use the contents of README.md as the long description
long_description_content_type="text/markdown",
version='1.0.0', # Specify the version of your package
install_requires=[], # List of required dependencies
extras_require = {'all': install_requires,
'colab': colab_required},
url='https://github.com/federicosiciliano/easy_data.git', # Replace with the URL of your GitHub repository
author='Federico Siciliano',
author_email='[email protected]',
keywords=['MachineLearning', 'Data'] # Keywords related to your package
)