Browse Source

Prepare for Python package

environments/testpypi/deployments/1
Lucidiot 3 years ago
parent
commit
7c7ab8e902
No known key found for this signature in database GPG Key ID: AE3F7205692FA205
  1. 1
      requirements-dev.txt
  2. 1
      requirements.txt
  3. 45
      setup.py

1
requirements-dev.txt

@ -0,0 +1 @@
flake8>=3.5

1
requirements.txt

@ -0,0 +1 @@
requests>=2.20

45
setup.py

@ -0,0 +1,45 @@
from setuptools import setup, find_packages
def read_requirements(filename):
return [req.strip() for req in open(filename)]
setup(
name='pyurbantz',
version='0.1.0',
author='Lucidiot',
packages=find_packages(
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_data={
'': ['*.md', 'LICENSE', 'README'],
},
install_requires=read_requirements('requirements.txt'),
extras_require={
'dev': read_requirements('requirements-dev.txt'),
},
license='GNU General Public License 3',
description="A helper for UrbanTZ's public undocumented API",
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
keywords="api urbantz order delivery tracking",
url="https://gitlab.com/Lucidiot/pyurbantz",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
],
project_urls={
"Source Code": "https://gitlab.com/Lucidiot/pyurbantz",
"GitHub Mirror": "https://github.com/Lucidiot/pyurbantz",
}
)
Loading…
Cancel
Save