Skip to content

Commit

Permalink
chore: Add setup.py (#45)
Browse files Browse the repository at this point in the history
* Adding essential files to publish in pypi

* removing PACKAGE_DESCRIPTION.md

* Refactor

---------

Co-authored-by: Kajanan Selvanesan <[email protected]>
  • Loading branch information
shangopi and kajanan1212 committed May 12, 2024
1 parent 3449827 commit 9c319f5
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
## Architecture

<p align="center">
<img height="400" src="./asserts/images/archi-dig.png" alt="archi-dig">
<img height="640" src="./asserts/images/archi-dig.png" alt="archi-dig">
</p>

## 🛠 Installation
Expand Down
58 changes: 58 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
from setuptools import setup, find_packages
from codecs import open
from os import path


HERE = path.abspath(path.dirname(__file__))

with open(path.join(HERE, "README.md"), "r", encoding='utf-8') as f:
long_description = f.read()

with open(path.join(HERE, "requirements.txt"), "r", encoding='utf-8') as f:
requirements = f.read().splitlines()

classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
]

setup(
name="ibat",
version="0.1.0-rc1",
description="Python framework designed to improve the robustness of real-time bus arrival/dwell time \
prediction models in heterogeneous traffic conditions by addressing real concept drift.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/aaivu/ibat/",
keywords=[
"Bus arrival/dwell time prediction",
"Hybrid batch processing",
"Concept drift handling",
"Active strategy",
"Incremental learning",
],
author="Aaivu",
author_email='[email protected]',
license="MIT",
python_requires=">=3.9",
classifiers=classifiers,
packages=find_packages(where="src"),
package_dir={"": "src"},
include_package_data=True,
install_requires=requirements,
project_urls={
"Homepage": "https://github.com/aaivu/ibat",
"Source": "https://github.com/aaivu/ibat",
"Download": "https://github.com/aaivu/ibat/releases",
"Documentation": "https://github.com/aaivu/ibat/blob/master/README.md",
"Bug Tracker": "https://github.com/aaivu/ibat/issues",
}
)

0 comments on commit 9c319f5

Please sign in to comment.