Skip to content

Commit

Permalink
config setup to install command line in system
Browse files Browse the repository at this point in the history
  • Loading branch information
valdergallo committed Nov 8, 2020
1 parent d7d8170 commit 4c9f8a4
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
48 changes: 48 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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',
],
)

0 comments on commit 4c9f8a4

Please sign in to comment.