Skip to content

Commit a48e903

Browse files
committed
BLD: Improve setup and pyprojeect
1 parent 3526d0b commit a48e903

File tree

2 files changed

+51
-39
lines changed

2 files changed

+51
-39
lines changed

pyproject.toml

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,53 @@
1+
[project]
2+
name = "linearmodels"
3+
readme = "README.md"
4+
license = "NCSA"
5+
license-files = [ "LICENSE.md" ]
6+
dynamic = ["dependencies", "version"]
7+
authors = [{ name = "Kevin Sheppard", email = "[email protected]" }]
8+
maintainers = [
9+
{ name = "Kevin Sheppard", email = "[email protected]" },
10+
]
11+
description = "Linear Panel, Instrumental Variable, Asset Pricing, and System Regression models for Python"
12+
requires-python = ">=3.10"
13+
keywords=[
14+
"linear models",
15+
"regression",
16+
"instrumental variables",
17+
"IV",
18+
"panel",
19+
"fixed effects",
20+
"clustered",
21+
"heteroskedasticity",
22+
"endogeneity",
23+
"instruments",
24+
"statistics",
25+
"statistical inference",
26+
"econometrics",
27+
]
28+
classifiers = [
29+
"Development Status :: 5 - Production/Stable",
30+
"Intended Audience :: End Users/Desktop",
31+
"Intended Audience :: Financial and Insurance Industry",
32+
"Intended Audience :: Science/Research",
33+
"Programming Language :: Python :: 3.10",
34+
"Programming Language :: Python :: 3.11",
35+
"Programming Language :: Python :: 3.12",
36+
"Programming Language :: Python :: 3.13",
37+
"Operating System :: MacOS :: MacOS X",
38+
"Operating System :: Microsoft :: Windows",
39+
"Operating System :: POSIX",
40+
"Programming Language :: Python",
41+
"Programming Language :: Cython",
42+
"Topic :: Scientific/Engineering",
43+
]
44+
45+
[project.urls]
46+
homepage = "https://github.com/bashtage/linearmodels"
47+
documentation = "https://bashtage.github.io/linearmodels/"
48+
repository = "https://github.com/bashtage/linearmodels"
49+
changelog = "https://bashtage.github.io/linearmodels/changes.html"
50+
151
[build-system]
252
requires = [
353
"setuptools>=61",
@@ -9,7 +59,7 @@ requires = [
959
build-backend = "setuptools.build_meta"
1060

1161
[tool.black]
12-
target-version = ['py39', 'py310', 'py311', 'py312']
62+
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
1363
exclude = '''
1464
(
1565
\.egg

setup.py

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -76,54 +76,16 @@ def run_setup(binary: bool = True) -> None:
7676
logging.warning("Building without binary support")
7777

7878
setup(
79-
name="linearmodels",
80-
license="NCSA",
81-
description="Linear Panel, Instrumental Variable, Asset Pricing, and System "
82-
"Regression models for Python",
8379
packages=["linearmodels"]
8480
+ [f"linearmodels.{v}" for v in find_namespace_packages("linearmodels")],
8581
package_dir={"linearmodels": "./linearmodels"},
86-
author="Kevin Sheppard",
87-
author_email="[email protected]",
88-
url="http://github.com/bashtage/linearmodels",
8982
long_description=long_description,
9083
long_description_content_type="text/markdown",
9184
install_requires=open("requirements.txt").read().split("\n"),
9285
include_package_data=True,
9386
package_data={"linearmodels": additional_files},
94-
keywords=[
95-
"linear models",
96-
"regression",
97-
"instrumental variables",
98-
"IV",
99-
"panel",
100-
"fixed effects",
101-
"clustered",
102-
"heteroskedasticity",
103-
"endogeneity",
104-
"instruments",
105-
"statistics",
106-
"statistical inference",
107-
"econometrics",
108-
],
10987
zip_safe=False,
110-
classifiers=[
111-
"Development Status :: 5 - Production/Stable",
112-
"Intended Audience :: End Users/Desktop",
113-
"Intended Audience :: Financial and Insurance Industry",
114-
"Intended Audience :: Science/Research",
115-
"Programming Language :: Python :: 3.10",
116-
"Programming Language :: Python :: 3.11",
117-
"Programming Language :: Python :: 3.12",
118-
"Programming Language :: Python :: 3.13",
119-
"Operating System :: MacOS :: MacOS X",
120-
"Operating System :: Microsoft :: Windows",
121-
"Operating System :: POSIX",
122-
"Programming Language :: Python",
123-
"Topic :: Scientific/Engineering",
124-
],
12588
ext_modules=extensions,
126-
python_requires=">=3.10",
12789
distclass=BinaryDistribution,
12890
)
12991

0 commit comments

Comments
 (0)