forked from hdl/pyHDLParser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
51 additions
and
51 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"""Parse Verilog and VHDL files""" | ||
__version__ = '1.1.0' |
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
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,39 @@ | ||
[metadata] | ||
name = hdlparse | ||
author = Kevin Thibedeau | ||
author_email = [email protected] | ||
url = http://kevinpt.github.io/hdlparse | ||
download_url = http://kevinpt.github.io/hdlparse | ||
description = HDL parser | ||
long_description = file: README.rst | ||
description_file = README.rst | ||
version = attr: hdlparse.__version__ | ||
license = MIT | ||
keywords = HDL parser | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Operating System :: OS Independent | ||
Intended Audience :: Developers | ||
Topic :: Text Processing :: General | ||
Natural Language :: English | ||
Programming Language :: Python :: 3 | ||
License :: OSI Approved :: MIT License | ||
|
||
[options] | ||
packages = hdlparse | ||
py_modules = | ||
install_requires = | ||
include_package_data = True | ||
|
||
[pycodestyle] | ||
max_line_length = 120 | ||
ignore = E501 | ||
|
||
[pydocstyle] | ||
ignore = D100,D102,D103,D105,D202,D203,D213,D400,D405,D406,D407,D413,D415 | ||
|
||
[pylint] | ||
disable = | ||
C0103,C0301,C0103,C0116,R0201,R0801,R0903,R0912,R0913,R0914,R0915,W0702 | ||
ignore-docstrings = yes | ||
output-format = colorized |
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,44 +1,3 @@ | ||
from setuptools import setup | ||
|
||
# Use README.rst for the long description | ||
with open('README.rst') as fh: | ||
long_description = fh.read() | ||
|
||
# Scan the script for the version string | ||
version_file = 'hdlparse/minilexer.py' | ||
version = None | ||
with open(version_file) as fh: | ||
try: | ||
version = [line.split('=')[1].strip().strip("'") for line in fh if | ||
line.startswith('__version__')][0] | ||
except IndexError: | ||
pass | ||
|
||
if version is None: | ||
raise RuntimeError('Unable to find version string in file: {0}'.format(version_file)) | ||
|
||
setup(name='hdlparse', | ||
version=version, | ||
author='Kevin Thibedeau', | ||
author_email='[email protected]', | ||
url='http://kevinpt.github.io/hdlparse', | ||
download_url='http://kevinpt.github.io/hdlparse', | ||
description='HDL parser', | ||
long_description=long_description, | ||
platforms=['Any'], | ||
install_requires=[], | ||
packages=['hdlparse'], | ||
py_modules=[], | ||
include_package_data=True, | ||
|
||
keywords='HDL parser', | ||
license='MIT', | ||
classifiers=['Development Status :: 5 - Production/Stable', | ||
'Operating System :: OS Independent', | ||
'Intended Audience :: Developers', | ||
'Topic :: Text Processing :: General', | ||
'Natural Language :: English', | ||
'Programming Language :: Python :: 3', | ||
'License :: OSI Approved :: MIT License' | ||
] | ||
) | ||
setup() |