mirror of
https://github.com/nelsond/prologix-gpib-ethernet.git
synced 2024-09-21 02:27:31 +00:00
Remove setuptools-scm and use hard coded version
This commit is contained in:
parent
2fd683119b
commit
13039d2fd8
@ -1,7 +1,9 @@
|
||||
from .plx_gpib_ethernet import PrologixGPIBEthernet
|
||||
from .plx_gpib_ethernet_device import PrologixGPIBEthernetDevice
|
||||
from .version import __version__
|
||||
|
||||
__all__ = ['plx_gpib_ethernet',
|
||||
'plx_gpib_ethernet_device',
|
||||
'PrologixGPIBEthernet',
|
||||
'PrologixGPIBEthernetDevice']
|
||||
'PrologixGPIBEthernetDevice',
|
||||
'__version__']
|
||||
|
1
plx_gpib_ethernet/version.py
Normal file
1
plx_gpib_ethernet/version.py
Normal file
@ -0,0 +1 @@
|
||||
__version__ = '0.1.1'
|
9
setup.py
9
setup.py
@ -1,14 +1,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from setuptools import setup
|
||||
import os
|
||||
from plx_gpib_ethernet import __version__
|
||||
|
||||
current_path = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
try:
|
||||
long_description = open('README.rst').read()
|
||||
except IOError:
|
||||
long_description = ''
|
||||
|
||||
# Get the long description from the README file
|
||||
with open(os.path.join(current_path, 'README.md')) as f:
|
||||
long_description = f.read()
|
||||
@ -16,8 +12,7 @@ with open(os.path.join(current_path, 'README.md')) as f:
|
||||
setup(
|
||||
name='prologix-gpib-ethernet',
|
||||
|
||||
use_scm_version=True,
|
||||
setup_requires=['setuptools_scm'],
|
||||
version=__version__,
|
||||
|
||||
description='Simple wrapper for the Prologix GPIB-to-Ethernet adapter.',
|
||||
long_description=long_description,
|
||||
|
Loading…
Reference in New Issue
Block a user