diff --git a/.gitignore b/.gitignore index 0d20b64..c138773 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,19 @@ +*.egg-info *.pyc +*.swo +*.swp +.cache +.coverage* +.DS_Store +.idea + +/.tox +/binaries +/build +/compose/GITSHA +/coverage-html +/dist +/docs/_site +/README.rst +/*venv +.vscode diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..3480374 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..79718ce --- /dev/null +++ b/setup.py @@ -0,0 +1,48 @@ +#!/usr/bin/env python +import codecs +import os + +from setuptools import setup +from setuptools import find_packages + + +def read(*parts): + path = os.path.join(os.path.dirname(__file__), *parts) + with codecs.open(path, encoding='utf-8') as fobj: + return fobj.read() + + +setup( + name='git-version', + version="1.2.0.0", + description='Git version manager', + long_description=read('README.md'), + long_description_content_type='text/markdown', + url='https://www.nkey.com.br/', + project_urls={ + 'Documentation': 'https://github.com/nKey/git-version', + 'Changelog': 'https://github.com/nKey/git-version/blob/release/CHANGELOG.md', + 'Source': 'https://github.com/nKey/git-version', + 'Tracker': 'https://github.com/nKey/git-version/issues', + }, + author='nKey, Inc.', + license='Apache License 2.0', + py_modules=["version"], + include_package_data=True, + python_requires='>=2.7', + entry_points={ + 'console_scripts': ['git-version=version:main'], + }, + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: Apache Software License', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + ], +) \ No newline at end of file