|
69 | 69 |
|
70 | 70 | packagedir = os.path.join("src", "pyscipopt") |
71 | 71 |
|
72 | | -with open(os.path.join(packagedir, "__init__.py"), "r") as initfile: |
73 | | - version = re.search( |
74 | | - r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', initfile.read(), re.MULTILINE |
75 | | - ).group(1) |
76 | | - |
77 | 72 | try: |
78 | 73 | from Cython.Build import cythonize |
79 | 74 | except ImportError as err: |
|
106 | 101 | if use_cython: |
107 | 102 | extensions = cythonize(extensions, compiler_directives={"language_level": 3, "linetrace": on_github_actions}) |
108 | 103 |
|
109 | | -with open("README.md") as f: |
110 | | - long_description = f.read() |
111 | | - |
112 | 104 | setup( |
113 | | - name="PySCIPOpt", |
114 | | - version=version, |
115 | | - description="Python interface and modeling environment for SCIP", |
116 | | - long_description=long_description, |
117 | | - long_description_content_type="text/markdown", |
118 | | - url="https://github.com/SCIP-Interfaces/PySCIPOpt", |
119 | | - author="Zuse Institute Berlin", |
120 | | - author_email="scip@zib.de", |
121 | | - license="MIT", |
122 | | - classifiers=[ |
123 | | - "Development Status :: 4 - Beta", |
124 | | - "Intended Audience :: Science/Research", |
125 | | - "Intended Audience :: Education", |
126 | | - "License :: OSI Approved :: MIT License", |
127 | | - "Programming Language :: Python :: 3", |
128 | | - "Programming Language :: Cython", |
129 | | - "Topic :: Scientific/Engineering :: Mathematics", |
130 | | - ], |
131 | 105 | ext_modules=extensions, |
132 | 106 | packages=["pyscipopt"], |
133 | 107 | package_dir={"pyscipopt": packagedir}, |
|
0 commit comments