diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 5e99201..f25aebd 100755 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.3.1 +current_version = 0.3.2 commit = True tag = True parse = (?P\d+).(?P\d+).(?P\d+) diff --git a/.drone.yml b/.drone.yml deleted file mode 100755 index a273a19..0000000 --- a/.drone.yml +++ /dev/null @@ -1,13 +0,0 @@ -image: python:3.7 -script: - - pip install pip tox -U --no-cache-dir - - tox -p all - -notify: - slack: - webhook_url: $$S_WEBHOOK_URL - username: 'drone' - channel: '#arche-deployments' - on_started: false - on_success: false - on_failure: true diff --git a/CHANGES.md b/CHANGES.md index 18722f5..4cb9f20 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,7 +9,15 @@ Note that the top-most release is changes in the unreleased master branch on Git [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.3.2dev] (Work In Progress) + +## [0.4.0] (Work In Progress) +### Added +### Changed +### Fixed +### Removed + + +## [0.3.2] (2019-04-18) ### Added - Allow reading private raw schemas directly from bitbucket, #58 diff --git a/docs/source/conf.py b/docs/source/conf.py index 3429c0b..b205104 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -27,7 +27,7 @@ copyright = f"2018-{datetime.now().year}, Arche developers" author = "Arche developers" -version = "0.3.1" +version = "0.3.2" # The short X.Y version version = version # The full version, including alpha/beta/rc tags diff --git a/setup.cfg b/setup.cfg index 58a6af0..bff2b58 100755 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,49 @@ [metadata] -version = 0.3.1 +name = arche +version = 0.3.2 +description = Analyze Scrapy Cloud data +long_description = file: README.md, CHANGES.md +long_description_content_type = text/markdown +keywords = scrapinghub, scraping, data, data-visualization, data-analysis, pandas +maintainer = Scrapinghub, manycoding +maintainer_email = info@scrapinghub.com +url = http://github.com/scrapinghub/arche +license = MIT +classifiers = + Development Status :: 5 - Production/Stable + Intended Audience :: Developers + Programming Language :: Python :: 3.7 + +[options] +package_dir = + =src +packages = find: +setup_requires = setuptools_scm +install_requires = + pandas + scrapinghub[msgpack] + plotly>=3.8.0 + genson + boto3 + jsonschema[format]>=3.0.0 + fastjsonschema + perfect-jsonschema + colorama + tqdm + ipywidgets +zip_safe = True + +[options.extras_require] +tests = + pytest + pytest-mock + pytest-cov + pytest-pythonpath +pep8tests = + flake8 + flake8-import-order + flake8-bugbear + black + +[options.packages.find] +where = src diff --git a/setup.py b/setup.py index 32bb305..b024da8 100755 --- a/setup.py +++ b/setup.py @@ -1,45 +1,4 @@ -from setuptools import find_packages, setup +from setuptools import setup -install_requires = ( - "pandas", - "scrapinghub[msgpack]", - "plotly>=3.8.0", - "genson", - "boto3", - "jsonschema[format]>=3.0.0", - "fastjsonschema", - "perfect-jsonschema", - "colorama", - "tqdm", - "ipywidgets", -) -dependency_links = ["https://github.com/ambv/black.git#egg=black"] - - -tests_require = ["pytest", "pytest-mock", "pytest-cov", "pytest-pythonpath"] - - -setup( - name="arche", - description="Analyze Scrapy Cloud data", - author="Scrapinghub", - license="MIT", - url="http://github.com/scrapinghub/arche", - platforms=["Any"], - packages=find_packages(where="src"), - package_dir={"": "src"}, - zip_safe=True, - install_requires=install_requires, - classifiers=[ - "Development Status :: 4 - Beta", - "Operating System :: OS Independent", - "Programming Language :: Python :: 3.7", - ], - python_requires=">=3.7", - extras_require={ - "tests": tests_require, - "pep8tests": ["flake8", "flake8-import-order", "flake8-bugbear", "black"], - }, - tests_require=tests_require, -) +setup() diff --git a/src/arche/__init__.py b/src/arche/__init__.py index 9e340a2..e748cfc 100755 --- a/src/arche/__init__.py +++ b/src/arche/__init__.py @@ -1,6 +1,6 @@ import logging -__version__ = "0.3.1" +__version__ = "0.3.2" SH_URL = "https://app.scrapinghub.com/p" # noqa from _plotly_future_ import v4 # noqa diff --git a/tox.ini b/tox.ini index fb879b8..6cbf6e6 100755 --- a/tox.ini +++ b/tox.ini @@ -46,4 +46,4 @@ xfail_strict = true branch = true [coverage:report] -fail_under = 61 +fail_under = 62