-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ccf6933
commit 8bd0532
Showing
3 changed files
with
41 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,47 @@ | ||
from setuptools import setup, find_packages | ||
import os | ||
|
||
here = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
# Function to read the contents of the requirements.txt file | ||
def read_requirements(): | ||
with open("requirements.txt", "r") as req: | ||
return req.read().splitlines() | ||
try: | ||
with open(os.path.join(here, "requirements.txt"), "r") as req: | ||
return req.read().splitlines() | ||
except FileNotFoundError: | ||
return [] | ||
|
||
def read_long_description(): | ||
try: | ||
with open(os.path.join(here, "README.md"), "r", encoding="utf-8") as fh: | ||
return fh.read() | ||
except FileNotFoundError: | ||
return "" | ||
|
||
setup( | ||
name="duckreg", | ||
version="0.1", | ||
version="0.1.1", # Use semantic versioning | ||
packages=find_packages(), | ||
install_requires=read_requirements(), | ||
# Additional metadata about your package | ||
author="Apoorva Lal", | ||
author_email="[email protected]", | ||
description="A package for Regression in compressed representation powered by DuckDB", | ||
long_description=read_long_description(), | ||
long_description_content_type="text/markdown", | ||
license="MIT", | ||
keywords="statistics, econometrics, sufficient statistics, bootstrap", | ||
url="https://github.com/apoorvalal/duckreg", | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
], | ||
python_requires='>=3.7', | ||
include_package_data=True, | ||
package_data={ | ||
'duckreg': ['*.py'], | ||
}, | ||
) |