File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 4
4
import sys
5
5
import shutil
6
6
7
- import ez_setup
8
- ez_setup .use_setuptools (version = "18.2" )
9
-
10
7
import setuptools .command .egg_info as egg_info_cmd
11
8
12
9
from setuptools import setup , find_packages
27
24
# In tox, it will cover them anyway.
28
25
requirements = []
29
26
27
+ install_requires = [
28
+ 'requests' ,
29
+ 'PyYAML' ,
30
+ 'rdflib >= 4.1.0' ,
31
+ 'rdflib-jsonld >= 0.3.0' ,
32
+ 'mistune' ,
33
+ 'typing' ]
34
+
35
+ if sys .version_info .major < 3 :
36
+ install_requires .append ("avro" )
37
+ else :
38
+ install_requires .append ("avro-python3" )
30
39
31
40
setup (name = 'schema-salad' ,
32
41
version = '1.7' ,
39
48
license = 'Apache 2.0' ,
40
49
packages = ["schema_salad" ],
41
50
package_data = {'schema_salad' : ['metaschema/*' ]},
42
- install_requires = [
43
- 'requests' ,
44
- 'PyYAML' ,
45
- 'rdflib >= 4.1.0' ,
46
- 'rdflib-jsonld >= 0.3.0' ,
47
- 'mistune' ],
48
- extras_require = {
49
- ':python_version>="2.7"' : ['typing' ],
50
- ':python_version<"3"' : ['avro' ],
51
- ':python_version>="3"' : ['avro-python3' ]},
51
+ install_requires = install_requires ,
52
52
test_suite = 'tests' ,
53
53
tests_require = [],
54
54
entry_points = {
You can’t perform that action at this time.
0 commit comments