Skip to content

Commit

Permalink
Add setup.py file with project details and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLime1 committed Feb 2, 2024
1 parent 0b36d1d commit 15ac363
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
from setuptools import setup, find_packages
import codecs
import os

here = os.path.abspath(os.path.dirname(__file__))

with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()

# Read requirements.txt
with open('requirements.txt') as f:
requirements = f.read().splitlines()

VERSION = '0.1.0'
DESCRIPTION = ' A Python library for interacting with data from esprit-tn.com'
LONG_DESCRIPTION = 'esprit-py, provides a set of tools for interacting with data from the Esprit website. It includes functionalities for scraping grades, absences, time schedules, and credits. It also provides the ability to download files and get class week schedules.'

# Setting up
setup(
name="esprit-py",
version=VERSION,
author="Lime1 (Aymen Hmani)",
author_email="<[email protected]>",
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=long_description,
packages=find_packages(),
install_requires=requirements, # Use requirements from requirements.txt
keywords=['python', 'api'],
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
]
)

0 comments on commit 15ac363

Please sign in to comment.