mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-01 02:28:05 +00:00
67 lines
1.7 KiB
Python
67 lines
1.7 KiB
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""The setup script."""
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
with open('README.rst') as readme_file:
|
|
readme = readme_file.read()
|
|
|
|
with open('HISTORY.rst') as history_file:
|
|
history = history_file.read()
|
|
|
|
requirements = [
|
|
'Click>=6.0',
|
|
'numpy',
|
|
'scipy'
|
|
# TODO: put package requirements here
|
|
]
|
|
|
|
setup_requirements = [
|
|
'pytest-runner',
|
|
# TODO(<TBD>): put setup requirements (distutils extensions, etc.) here
|
|
]
|
|
|
|
test_requirements = [
|
|
'pytest',
|
|
# TODO: put package test requirements here
|
|
]
|
|
|
|
setup(
|
|
name='gnpy',
|
|
version='0.1.0',
|
|
description="Gaussian Noise (GN) modeling library",
|
|
long_description=readme + '\n\n' + history,
|
|
author="<TBD>",
|
|
author_email='<TBD>@<TBD>.com',
|
|
url='https://github.com/Telecominfraproject/gnpy',
|
|
packages=find_packages(include=['gnpy']),
|
|
entry_points={
|
|
'console_scripts': [
|
|
'gnpy=gnpy.cli:main'
|
|
]
|
|
},
|
|
include_package_data=True,
|
|
install_requires=requirements,
|
|
license="BSD license",
|
|
zip_safe=False,
|
|
keywords='gnpy',
|
|
classifiers=[
|
|
'Development Status :: 2 - Pre-Alpha',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: BSD License',
|
|
'Natural Language :: English',
|
|
"Programming Language :: Python :: 2",
|
|
'Programming Language :: Python :: 2.6',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.3',
|
|
'Programming Language :: Python :: 3.4',
|
|
'Programming Language :: Python :: 3.5',
|
|
],
|
|
test_suite='tests',
|
|
tests_require=test_requirements,
|
|
setup_requires=setup_requirements,
|
|
)
|