-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add setup.py file with project details and dependencies
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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", | ||
] | ||
) |