Skip to content

Commit

Permalink
Merge pull request #35 from nokia/setup.py
Browse files Browse the repository at this point in the history
Prepare of setup.py
  • Loading branch information
emcek authored Oct 15, 2018
2 parents 5452e07 + 38390ab commit e5774fb
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 1 deletion.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
futures >= 3.0.0 ; python_version < '3.0'
futures >= 3.0.0; python_version == "2.7"
ptyprocess
pyyaml
six
Expand Down
75 changes: 75 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
import io
from os.path import abspath, dirname, join

from setuptools import setup, find_packages

here = abspath(dirname(__file__))

with io.open(join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

with io.open(join(here, 'requirements.txt'), encoding='utf-8') as f:
requires = f.read().splitlines()

setup(
name='moler', # Required
version='0.5.0', # Required
description='Moler is library to help in building automated tests', # Required
long_description=long_description, # Optional
long_description_content_type='text/markdown', # Optional (see note above)
url='https://github.com/nokia/moler', # Optional
author='Nokia', # Optional
license='BSD 3-Clause',
classifiers=[ # Optional
'Development Status :: 3 - Alpha',

'Environment :: Console',

'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Telecommunications Industry',
'Topic :: Software Development :: Build Tools',

'License :: OSI Approved :: BSD License',

'Operating System :: POSIX',
'Operating System :: Unix',

'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',

'Topic :: Software Development',
'Topic :: Software Development :: Testing',
'Topic :: System :: Networking'
],

keywords='testing development', # Optional

# You can just specify package directories manually here if your project is
# simple. Or you can use find_packages().
#
# Alternatively, if you just want to distribute a single Python file, use
# the `py_modules` argument instead as follows, which will expect a file
# called `my_module.py` to exist:
#
# py_modules=["my_module"],
#
packages=find_packages(exclude=['docs', 'examples', 'images', 'test']), # Required

# This field lists other packages that your project depends on to run.
# Any package you put here will be installed by pip when your project is
# installed, so they must be valid existing projects.
#
# For an analysis of "install_requires" vs pip's requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=requires, # Optional

project_urls={ # Optional
'Bug Reports': 'https://github.com/nokia/moler/issues',
'Source': 'https://github.com/nokia/moler',
},
)

0 comments on commit e5774fb

Please sign in to comment.