<commit_before>#!/usr/bin/env python2
# coding=utf-8

from setuptools import setup, find_packages
from distutils.command.build_py import build_py as _build_py
import os
import versioneer

import sys
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "src"))
import octoprint_setuptools

#-----------------------------------------------------------------------------------------------------------------------

# Requirements for our application
INSTALL_REQUIRES = [
	"flask>=0.11,<0.12",
	"werkzeug>=0.11.1,<0.12",
	"tornado>=4.4.2,<4.5",
	"Jinja2>=2.8,<2.9", # Jinja 2.9 has breaking changes WRT template scope - we can't
	                    # guarantee backwards compatibility for plugins and such with that
	                    # version, hence we need to pin to a lower version for now. See #1697
	"sockjs-tornado>=1.0.2,<1.1",
	"PyYAML>=3.12,<3.13",
	"Flask-Login>=0.3,<0.4",
	"Flask-Principal>=0.4,<0.5",
	"Flask-Babel>=0.11,<0.12",
	"Flask-Assets>=0.12,<0.13",
	"markdown>=2.6.4,<2.7",
	"pyserial>=3.1.1,<3.2",
	"netaddr>=0.7.17,<0.8",
	"watchdog>=0.8.3,<0.9",
	"sarge>=0.1.4,<0.2",
	"netifaces>=0.10,<0.11",
	"pylru>=1.0.9,<1.1",
	"rsa>=3.4,<3.5",
	"pkginfo>=1.3.2,<1.4",
	"requests>=2.11.1,<2.12",
	"semantic_version>=2.6.0,<2.7",
	"psutil>=4.3.1,<4.4",
	"Click>=6.6,<6.7",
	"awesome-slugify>=1.6.5,<1.7",
	"feedparser>=5.2.1,<5.3",
	"chainmap>=1.0.2,<1.1",
	"future>=0.15,<0.16",
	"scandir>=1.3,<1.4",
	"websocket-client>=0.40,<0.41"
]

if sys.platform == "darwin":
	INSTALL_REQUIRES.append("appdirs>=1.4.0")

# Additional requirements for optional install options
EXTRA_REQUIRES = dict(
	# Dependencies for developing OctoPrint
	develop=[
		# Testing dependencies
		"mock>=1.0.1,<1.1",
		"nose>=1.3.0,<1.4",
		"ddt",

		# Documentation dependencies
		"sphinx>=1.3,<1.4",
		"sphinxcontrib-httpdomain",
		"sphinx_rtd_theme",

		# PyPi upload related
		"pypandoc"
	],

	# Dependencies for developing OctoPrint plugins
	plugins=[
		"cookiecutter>=1.4,<1.5"
	]
)

# Additional requirements for setup
SETUP_REQUIRES = []

# Dependency links for any of the aforementioned dependencies
DEPENDENCY_LINKS = []

#-----------------------------------------------------------------------------------------------------------------------
# Anything below here is just command setup and general setup configuration<commit_msg>Upgrade to current versions again<commit_after>#!/usr/bin/env python2
# coding=utf-8

from setuptools import setup, find_packages
from distutils.command.build_py import build_py as _build_py
import os
import versioneer

import sys
sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "src"))
import octoprint_setuptools

#-----------------------------------------------------------------------------------------------------------------------

# Requirements for our application
INSTALL_REQUIRES = [
	"flask>=0.12,<0.13",
	"werkzeug>=0.11.1,<0.12",
	"tornado>=4.4.2,<4.5",
	"Jinja2>=2.8,<2.9", # Jinja 2.9 has breaking changes WRT template scope - we can't
	                    # guarantee backwards compatibility for plugins and such with that
	                    # version, hence we need to pin to a lower version for now. See #1697
	"sockjs-tornado>=1.0.2,<1.1",
	"PyYAML>=3.12,<3.13",
	"Flask-Login>=0.4,<0.5",
	"Flask-Principal>=0.4,<0.5",
	"Flask-Babel>=0.11,<0.12",
	"Flask-Assets>=0.12,<0.13",
	"markdown>=2.6.4,<2.7",
	"pyserial>=3.2.1,<3.3",
	"netaddr>=0.7.17,<0.8",
	"watchdog>=0.8.3,<0.9",
	"sarge>=0.1.4,<0.2",
	"netifaces>=0.10,<0.11",
	"pylru>=1.0.9,<1.1",
	"rsa>=3.4,<3.5",
	"pkginfo>=1.4.1,<1.5",
	"requests>=2.13.0,<2.14",
	"semantic_version>=2.6.0,<2.7",
	"psutil>=5.1.3,<5.2",
	"Click>=6.7,<6.8",
	"awesome-slugify>=1.6.5,<1.7",
	"feedparser>=5.2.1,<5.3",
	"chainmap>=1.0.2,<1.1",
	"future>=0.15,<0.16",
	"scandir>=1.3,<1.4",
	"websocket-client>=0.40,<0.41"
]

if sys.platform == "darwin":
	INSTALL_REQUIRES.append("appdirs>=1.4.0")

# Additional requirements for optional install options
EXTRA_REQUIRES = dict(
	# Dependencies for developing OctoPrint
	develop=[
		# Testing dependencies
		"mock>=2.0,<2.1",
		"nose>=1.3.0,<1.4",
		"ddt",

		# Documentation dependencies
		"sphinx>=1.3,<1.4",
		"sphinxcontrib-httpdomain",
		"sphinx_rtd_theme",

		# PyPi upload related
		"pypandoc"
	],

	# Dependencies for developing OctoPrint plugins
	plugins=[
		"cookiecutter>=1.5,<1.6"
	]
)

# Additional requirements for setup
SETUP_REQUIRES = []

# Dependency links for any of the aforementioned dependencies
DEPENDENCY_LINKS = []

#-----------------------------------------------------------------------------------------------------------------------
# Anything below here is just command setup and general setup configuration
{'fraction_non_alphanumeric': 0.27961783439490445, 'fraction_numerical': 0.07707006369426751, 'mean_word_length': 2.635030864197531, 'pattern_counts': {'":': 2, '<': 69, '<?xml version=': 0, '>': 71, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2663099', 'n_tokens_mistral': 1980, 'n_tokens_neox': 1885, 'n_words': 313}