-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config setup to install command line in system
- Loading branch information
1 parent
d7d8170
commit 4c9f8a4
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[bdist_wheel] | ||
universal=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
], | ||
) |