File tree Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -44,5 +44,3 @@ console_scripts =
44
44
45
45
[dist_conda]
46
46
pythons = 3.6, 3.7, 3.8
47
- platforms = linux-64,win-32,win-64,osx-64
48
- force_conversion = True
Original file line number Diff line number Diff line change 1
1
import os
2
2
from setuptools import setup
3
- from distutils import sysconfig
3
+ from setuptools . dist import Distribution
4
4
5
5
try :
6
6
from setuptools_conda import dist_conda
7
-
8
7
CMDCLASS = {"dist_conda" : dist_conda }
9
8
except ImportError :
10
9
CMDCLASS = {}
20
19
DATA_FILES = []
21
20
PACKAGE_DATA = {"labscript_suite" : [os .path .join (".." , "labscript-suite.pth" )]}
22
21
23
- VERSION_SCHEME = {}
24
- VERSION_SCHEME ["version_scheme" ] = os .environ .get (
25
- "SCM_VERSION_SCHEME" , "guess-next-dev"
26
- )
27
- VERSION_SCHEME ["local_scheme" ] = os .environ .get ("SCM_LOCAL_SCHEME" , "node-and-date" )
28
-
29
- VERSION_SCHEME = {}
30
- VERSION_SCHEME ["version_scheme" ] = os .environ .get (
31
- "SCM_VERSION_SCHEME" , "release-branch-semver"
32
- )
33
- VERSION_SCHEME ["local_scheme" ] = os .environ .get ("SCM_LOCAL_SCHEME" , "node-and-date" )
22
+ VERSION_SCHEME = {
23
+ "version_scheme" : os .getenv ("SCM_VERSION_SCHEME" , "guess-next-dev" ),
24
+ "local_scheme" : os .getenv ("SCM_LOCAL_SCHEME" , "node-and-date" ),
25
+ }
34
26
35
27
setup (
36
28
use_scm_version = VERSION_SCHEME ,
You can’t perform that action at this time.
0 commit comments