Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion py2bit.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <Python.h>
#include "2bit.h"

#define pyTwoBitVersion "0.3.2"
#define pyTwoBitVersion "0.3.3"

typedef struct {
PyObject_HEAD
Expand Down
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=42", "setuptools-scm"]
requires = ["setuptools>=74.1", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -30,6 +30,12 @@ classifiers = [
download = "https://github.com/deeptools/py2bit"
homepage = "https://github.com/deeptools/py2bit"

[tool.setuptools]
# Override setuptools autodiscovery algorithm
# Only include package test data/source for wheel distribution
include-package-data = true
packages = ["py2bitTest"]

# Enable version inference from scm
[tool.setuptools_scm]

Expand Down
33 changes: 4 additions & 29 deletions setup.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#!/usr/bin/env python
from setuptools import setup, Extension, find_packages
from distutils import sysconfig
import subprocess
from setuptools import setup, Extension
import glob
import sys
import sysconfig

srcs = [x for x in
glob.glob("lib2bit/*.c")]
Expand All @@ -16,27 +13,5 @@
library_dirs = additional_libs,
include_dirs = ['lib2bit', sysconfig.get_config_var("INCLUDEPY")])

setup(name = 'py2bit',
version = '0.3.3',
description = 'A package for accessing 2bit files using lib2bit',
author = "Devon P. Ryan",
author_email = "dpryan79@gmail.com",
url = "https://github.com/deeptools/py2bit",
license = "MIT",
download_url = "https://github.com/deeptools/py2bit",
keywords = ["bioinformatics", "2bit"],
classifier = ["Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved",
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS"],
packages = find_packages(),
include_package_data=True,
ext_modules = [module1])
setup_args = dict(ext_modules=[module1])
setup(**setup_args)
Loading