--- /dev/null
+Directories here hold code to be released into Python Package Index (PyPI).
+
+Mosly libraries, so people could expect them in resources/libraries/python/.
+But these libraries cannot be there, because that is a package hierarchy
+used by robot code, but we want the libraries here
+to be NOT read from cloned CSIT git repo, but from pip.
--- /dev/null
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# C extensions
+*.so
+
+# Distribution / packaging
+.Python
+build/
+develop-eggs/
+dist/
+downloads/
+eggs/
+.eggs/
+lib/
+lib64/
+parts/
+sdist/
+var/
+wheels/
+*.egg-info/
+.installed.cfg
+*.egg
+MANIFEST
+
+# PyInstaller
+# Usually these files are written by a python script from a template
+# before PyInstaller builds the exe, so as to inject date/other infos into it.
+*.manifest
+*.spec
+
+# Installer logs
+pip-log.txt
+pip-delete-this-directory.txt
+
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.coverage
+.coverage.*
+.cache
+nosetests.xml
+coverage.xml
+*.cover
+.hypothesis/
+.pytest_cache/
+
+# Translations
+*.mo
+*.pot
+
+# Django stuff:
+*.log
+local_settings.py
+db.sqlite3
+
+# Flask stuff:
+instance/
+.webassets-cache
+
+# Scrapy stuff:
+.scrapy
+
+# Sphinx documentation
+docs/_build/
+
+# PyBuilder
+target/
+
+# Jupyter Notebook
+.ipynb_checkpoints
+
+# pyenv
+.python-version
+
+# celery beat schedule file
+celerybeat-schedule
+
+# SageMath parsed files
+*.sage.py
+
+# Environments
+.env
+.venv
+env/
+venv/
+ENV/
+env.bak/
+venv.bak/
+
+# Spyder project settings
+.spyderproject
+.spyproject
+
+# Rope project settings
+.ropeproject
+
+# mkdocs documentation
+/site
+
+# mypy
+.mypy_cache/
(Linux Foundation Networking) projects.
In order to make this code available in PyPI_ (Python Package Index),
-and to avoid rigid release cadence of CSIT,
-the library has been moved into this standalone project.
+the setuputils stuff has been added,
+and the code has been moved into a separate directory_,
+in order to not intervere of otherwise tightly coupled CSIT code.
Usage
-----
.. _fd.io: https://fd.io/
.. _LFN: https://www.linuxfoundation.org/projects/networking/
.. _PyPI: https://pypi.org/
+.. _directory: https://gerrit.fd.io/r/gitweb?p=csit.git;a=tree;f=PyPI/jumpavg;hb=refs/heads/master
setup(
name="jumpavg",
- version="0.1.0", # This is currently the only place listing the version.
- description="Library for finding changes in time series by grouping results",
+ version="0.1.2", # This is currently the only place listing the version.
+ description="Library for finding changes in time series by grouping results.",
long_description=long_description,
long_description_content_type="text/x-rst",
- url="https://github.com/vrpolakatcisco/jumpavg",
+ # TODO: Create a separate webpage for jumpavg library.
+ url="https://gerrit.fd.io/r/gitweb?p=csit.git;a=tree;f=PyPI/jumpavg;hb=refs/heads/master",
author="Cisco Systems Inc. and/or its affiliates",
author_email="csit-dev@lists.fd.io",
classifiers=[
"Intended Audience :: Science/Research",
# Pick your license as you wish
"License :: OSI Approved :: Apache Software License",
- "Natural Language :: English"
+ "Natural Language :: English",
# TODO: Test which Python versions is the code compatible with.
"Programming Language :: Python :: 2.7",
"Topic :: Scientific/Engineering :: Information Analysis"
],
keywords="progression regression anomaly detection",
packages=find_packages(exclude=[]),
+ # TODO: python_requires="~=2.7"
install_requires=[],
# TODO: Include simulator and tests.
extras_require={
],
},
project_urls={
- "Bug Reports": "https://github.com/vrpolakatcisco/jumpavg/issues",
- "Source": "https://github.com/vrpolakatcisco/jumpavg/",
+ "Bug Reports": "https://jira.fd.io/projects/CSIT/issues",
+ "Source": "https://gerrit.fd.io/r/gitweb?p=csit.git;a=tree;f=PyPI/jumpavg;hb=refs/heads/master",
},
)