Skip to content

Commit

Permalink
added setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtpepperpt committed Feb 25, 2024
1 parent 2174e56 commit bc63c95
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Retrieves static data about lines, stops, locations, and real-time estimates of

Since it's based on a non-official API, it may stop working in the future. Confirmed working as of 24 February 2024.

See the file at `src/stcp/api.py` for the complete documentation.
See the file at `stcp/api.py` for the complete documentation.

## Available operations

Expand Down
29 changes: 29 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
from setuptools import setup, find_packages
import os

with open('README.md', 'r') as f:
long_description = f.read()

setup(
name = 'stcp_api',
version = '0.1.1',
author = 'Guilherme Borges',
author_email = 'g@guilhermeborges.net',
description = 'Unofficial API to retrieve STCP information for public transit buses in Porto, Portugal',
long_description = long_description,
long_description_content_type = 'text/markdown',
url = 'https://github.com/sgtpepperpt/stcp-api',
packages = find_packages(),
install_requires = [
'requests',
'beautifulsoup4',
'urllib3'
],
classifiers = [
'Programming Language :: Python :: 3',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
],
python_requires = '>=3.11',
)

0 comments on commit bc63c95

Please sign in to comment.