Skip to content

Commit

Permalink
Manage Packaging
Browse files Browse the repository at this point in the history
Created the subdirectory brian2units where /units and
/tests are stored

Signed-off-by: Sorin Birchi <[email protected]>
  • Loading branch information
Sorin Birchi committed Jun 11, 2024
1 parent 6e2142b commit b6de52a
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 10 deletions.
16 changes: 16 additions & 0 deletions brian2units/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# file generated by setuptools_scm
# don't change, don't track in version control
TYPE_CHECKING = False
if TYPE_CHECKING:
from typing import Tuple, Union
VERSION_TUPLE = Tuple[Union[int, str], ...]
else:
VERSION_TUPLE = object

version: str
__version__: str
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE

__version__ = version = '1.1.dev3+g6e2142b.d20240611'
__version_tuple__ = version_tuple = (1, 1, 'dev3', 'g6e2142b.d20240611')
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 10 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# from setuptools import setup, find_packages
from setuptools import setup, find_packages

# setup(
# name='brian2units',
# use_scm_version={
# "write_to": "brian2units/_version.py",
# },
# setup_requires=['setuptools_scm'],
# packages=find_packages(),
# # other arguments...
# )
setup(
name='brian2units',
use_scm_version={
"write_to": "brian2units/_version.py",
},
setup_requires=['setuptools_scm'],
packages=find_packages(),
# other arguments...
)

0 comments on commit b6de52a

Please sign in to comment.