20
20
import sys
21
21
22
22
if sys .version_info < (3 , 8 ):
23
- raise RuntimeError ('edgedb requires Python 3.8 or greater' )
23
+ raise RuntimeError ('gel requires Python 3.8 or greater' )
24
24
25
25
import os
26
26
import os .path
@@ -161,15 +161,15 @@ class sdist(setuptools_sdist.sdist, VersionMixin):
161
161
162
162
def make_release_tree (self , base_dir , files ):
163
163
super ().make_release_tree (base_dir , files )
164
- self ._fix_version (pathlib .Path (base_dir ) / 'edgedb ' / '_version.py' )
164
+ self ._fix_version (pathlib .Path (base_dir ) / 'gel ' / '_version.py' )
165
165
166
166
167
167
class build_py (setuptools_build_py .build_py , VersionMixin ):
168
168
169
169
def build_module (self , module , module_file , package ):
170
170
outfile , copied = super ().build_module (module , module_file , package )
171
171
172
- if module == '_version' and package == 'edgedb ' :
172
+ if module == '_version' and package == 'gel ' :
173
173
self ._fix_version (outfile )
174
174
175
175
return outfile , copied
@@ -243,13 +243,13 @@ def finalize_options(self):
243
243
import Cython
244
244
except ImportError :
245
245
raise RuntimeError (
246
- 'please install {} to compile edgedb from source' .format (
246
+ 'please install {} to compile gel from source' .format (
247
247
CYTHON_DEPENDENCY ))
248
248
249
249
cython_dep = pkg_resources .Requirement .parse (CYTHON_DEPENDENCY )
250
250
if Cython .__version__ not in cython_dep :
251
251
raise RuntimeError (
252
- 'edgedb requires {}, got Cython=={}' .format (
252
+ 'gel requires {}, got Cython=={}' .format (
253
253
CYTHON_DEPENDENCY , Cython .__version__
254
254
))
255
255
@@ -284,7 +284,7 @@ def finalize_options(self):
284
284
285
285
setup_requires = []
286
286
287
- if (not (_ROOT / 'edgedb ' / 'protocol' / 'protocol.c' ).exists () or
287
+ if (not (_ROOT / 'gel ' / 'protocol' / 'protocol.c' ).exists () or
288
288
'--cython-always' in sys .argv ):
289
289
# No Cython output, require Cython to build.
290
290
setup_requires .append (CYTHON_DEPENDENCY )
@@ -295,9 +295,9 @@ def finalize_options(self):
295
295
296
296
297
297
setuptools .setup (
298
- name = 'edgedb ' ,
298
+ name = 'gel ' ,
299
299
version = VERSION ,
300
- description = 'EdgeDB Python driver' ,
300
+ description = 'Gel Python driver' ,
301
301
long_description = readme ,
302
302
platforms = ['macOS' , 'POSIX' , 'Windows' ],
303
303
author = 'MagicStack Inc' ,
0 commit comments