-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
32 lines (28 loc) · 1.76 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
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()
with open('requirements.txt') as f:
required = f.read().splitlines()
# Check if a requirements.txt file exists and if so, read its contents
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 Lightning', # Replace with your package name
packages = find_packages(), # List of all packages included in your project
description='Easy Lightning: Simplify AI-Deep learning with PyTorch Lightning',
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=install_requires+['easy_data @ git+https://github.com/federicosiciliano/easy_data.git',
'easy_exp @ git+https://github.com/federicosiciliano/easy_exp.git',
'easy_rec @ git+https://github.com/federicosiciliano/easy_rec.git',
'easy_torch @ git+https://github.com/federicosiciliano/easy_torch.git'], # List of required dependencies
url='https://github.com/federicosiciliano/easy_lightning.git', # Replace with the URL of your GitHub repository
author='Federico Siciliano, Federico Carmignani',
author_email='[email protected], [email protected]',
keywords=['DeepLearning', 'MachineLearning', 'PyTorch', 'Lightning', 'AI'] # Keywords related to your package
)