Skip to content

Commit

Permalink
Dropped python 2 support for building the package. Still can be insta…
Browse files Browse the repository at this point in the history
…lled to python2 though.
  • Loading branch information
KOLANICH committed Apr 14, 2021
1 parent 3b3f365 commit ee50ae4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
@@ -1,13 +1,13 @@
#!/usr/bin/env python3
from os.path import join as pjoin, dirname
from pathlib import Path

from setuptools import setup
from setuptools.config import read_configuration
import setuptools_scm

if __name__ == "__main__":
p = dirname(__file__)
setup_dict = read_configuration(pjoin(p, "setup.cfg"))
p = Path(__file__).parent
setup_dict = read_configuration(str(p / "setup.cfg"))
v = setuptools_scm.version_from_scm(str(p))
__version__ = setuptools_scm.format_version(
v,
Expand Down

0 comments on commit ee50ae4

Please sign in to comment.