Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GlasgowEmbedded/glasgow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 902fa2351b18
Choose a base ref
...
head repository: GlasgowEmbedded/glasgow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d0e10e5d2ad8
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Sep 20, 2019

  1. software: add setuptools dependency.

    emilazy authored and whitequark committed Sep 20, 2019
    Copy the full SHA
    b272bb2 View commit details
  2. cli: fix -V.

    emilazy authored and whitequark committed Sep 20, 2019
    Copy the full SHA
    d0e10e5 View commit details
Showing with 4 additions and 3 deletions.
  1. +1 −1 software/glasgow/__init__.py
  2. +2 −2 software/glasgow/cli.py
  3. +1 −0 software/setup.py
2 changes: 1 addition & 1 deletion software/glasgow/__init__.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
try:
__version__ = pkg_resources.get_distribution(__name__).version
except pkg_resources.DistributionNotFound:
pass
__version__ = 'unknown'

import logging

4 changes: 2 additions & 2 deletions software/glasgow/cli.py
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@
from fx2 import FX2Config
from fx2.format import input_data, diff_data

from ._version import get_versions
from . import __version__
from .support.logging import *
from .support.asignal import *
from .support.pyrepl import *
@@ -63,7 +63,7 @@ def create_argparser():

version = "Glasgow version {version} (Python {python_version})" \
.format(python_version=".".join(str(n) for n in sys.version_info[:3]),
**get_versions())
version=__version__)

parser.add_argument(
"-V", "--version", action="version", version=version,
1 change: 1 addition & 0 deletions software/setup.py
Original file line number Diff line number Diff line change
@@ -70,6 +70,7 @@ def local_scheme(version):
license="0-clause BSD License",
setup_requires=["setuptools_scm"],
install_requires=[
"setuptools",
"nmigen",
"fx2>=0.7",
"libusb1>=1.6.6",