Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes versioning and adds dev dependencies #18

Merged
merged 1 commit into from Mar 25, 2020
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -5,6 +5,7 @@
__author__ = "Ahmed Nafies Okasha Mohamed <ahmed.nafies@gmail.com>"
__copyright__ = "Copyright 2020, Ahmed Nafies Okasha Mohamed"
__license__ = "MIT"
__version__ = "2.0.5"


def Covid(source="john_hopkins"):
@@ -1,15 +1,18 @@
# -*- coding: utf-8 -*-
import io
import re

from setuptools import setup

with open("README.md") as f:
with io.open("README.md") as f:
long_description = f.read()

VERSION = "2.0.4"
with io.open("covid/__init__.py", "rt", encoding="utf8") as f:
version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)

setup(
name="covid",
version=VERSION,
version=version,
description="Python SDK to get information regarding the novel corona virus provided by Johns Hopkins university and worldometers.info",
long_description=long_description,
long_description_content_type="text/markdown",
@@ -19,6 +22,18 @@
license="MIT",
packages=["covid", "covid.john_hopkins", "covid.worldometers"],
install_requires=["requests", "pydantic", "beautifulsoup4"],
extras_require={
"dev": [
"pipenv",
"pytest",
"coverage",
"flake8",
"ipdb",
"pre-commit",
"black",
],
"docs": ["mkdocs", "mkdocs-material"],
},
project_urls={
"Documentation": "https://ahmednafies.github.io/covid/",
"Source": "https://github.com/ahmednafies/covid",
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.