Skip to content

Commit

Permalink
Add setup/publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed Jul 2, 2018
1 parent b800ded commit 6dded1e
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
**/__pycache__
**/__pycache__
build/
dist/
*.egg-info/
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Install using pip

.. code-block:: bash
pip3 install systemrdl-compiler
python3 -m pip install systemrdl-compiler
.. toctree::
Expand Down
6 changes: 6 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

rm -rf dist

python3 setup.py sdist
twine upload --repository-url https://pypi.org/legacy/ dist/*
21 changes: 21 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import setuptools

with open("README.md", "r") as fh:
long_description = fh.read()

setuptools.setup(
name="systemrdl-compiler",
version="0.1",
author="Alex Mykyta",
author_email="amykyta3@github.com",
description="Parse and elaborate front-end for SystemRDL 2.0",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/SystemRDL/systemrdl-compiler",
packages=setuptools.find_packages(),
classifiers=(
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
),
)
Empty file added systemrdl/parser/__init__.py
Empty file.

0 comments on commit 6dded1e

Please sign in to comment.