|
| 1 | +#!/usr/bin/env python |
| 2 | +# -*- coding: utf-8 -*- |
| 3 | +# |
| 4 | +# Copyright (C) 2020 The SymbiFlow Authors. |
| 5 | +# |
| 6 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | +# you may not use this file except in compliance with the License. |
| 8 | +# You may obtain a copy of the License at |
| 9 | +# |
| 10 | +# https://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +# |
| 12 | +# Unless required by applicable law or agreed to in writing, software |
| 13 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | +# See the License for the specific language governing permissions and |
| 16 | +# limitations under the License. |
| 17 | +# |
| 18 | +# SPDX-License-Identifier: Apache-2.0 |
| 19 | + |
| 20 | +import sys |
| 21 | +from os import path |
| 22 | + |
| 23 | +from setuptools import setup, find_packages |
| 24 | + |
| 25 | +__dir__ = path.dirname(path.abspath(__file__)) |
| 26 | +readme_file = path.join(__dir__, '../README.rst') |
| 27 | +try: |
| 28 | + with open(readme_file) as f: |
| 29 | + readme = f.read() |
| 30 | +except FileNotFoundError as e: |
| 31 | + import traceback |
| 32 | + traceback.print_exc() |
| 33 | + readme = '' |
| 34 | + __version__ = 'error' |
| 35 | + |
| 36 | +install_requires = [ |
| 37 | + 'sphinxcontrib-hdl-diagrams' |
| 38 | +] |
| 39 | + |
| 40 | +setup( |
| 41 | + name='sphinxcontrib-verilog-diagrams', |
| 42 | + version="0.1.0", |
| 43 | + description='Generate diagrams from Verilog in Sphinx.', |
| 44 | + long_description=readme, |
| 45 | + long_description_content_type="text/x-rst", |
| 46 | + author="The SymbiFlow Authors", |
| 47 | + author_email='symbiflow@lists.librecores.org', |
| 48 | + url='https://github.com/SymbiFlow/sphinxcontrib-hdl-diagrams', |
| 49 | + packages=find_packages(), |
| 50 | + license="Apache 2.0", |
| 51 | + keywords='Verilog sphinx sphinx-extension netlistsvg FPGA', |
| 52 | + classifiers=[ |
| 53 | + 'Development Status :: 4 - Beta', |
| 54 | + 'Framework :: Sphinx :: Extension', |
| 55 | + 'Intended Audience :: Developers', |
| 56 | + 'License :: OSI Approved :: Apache Software License', |
| 57 | + 'Natural Language :: English', |
| 58 | + 'Programming Language :: Python :: 3.5', |
| 59 | + 'Programming Language :: Python :: 3.6', |
| 60 | + 'Topic :: Text Processing', |
| 61 | + ], |
| 62 | + install_requires=install_requires, |
| 63 | +) |
0 commit comments